Projekt

Obecné

Profil

Stáhnout (650 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 f053c1b6 Vojtěch Bartička
using Models.Enums;
2
using System;
3
using System.Collections.Generic;
4
using System.Linq;
5
using System.Text;
6
using System.Threading.Tasks;
7
8
namespace Models.Documents;
9
10 11f447b9 Vojtěch Bartička
# nullable disable
11 f053c1b6 Vojtěch Bartička
/**
12 4b03d2a7 Vojtěch Bartička
 * If the file is plaintext, we except it to be a single document base64 encoded
13 f053c1b6 Vojtěch Bartička
 * If the file is base64, we expect it to be a ZIP file with plaintext documents in its root
14
 */
15
public class DocumentAddInfo
16
{
17
    public string Name { get; set; }
18 4b03d2a7 Vojtěch Bartička
19
    /// <summary>
20
    /// The backend relies on this being correct
21
    /// </summary>
22 5adba4c4 Vojtěch Bartička
    public EAddDocumentFormat Format { get; set; } = EAddDocumentFormat.TEXTFILE;
23 4b03d2a7 Vojtěch Bartička
24 f053c1b6 Vojtěch Bartička
    public string Content { get; set; }
25
}