Projekt

Obecné

Profil

Stáhnout (547 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
 * If the file is plaintext, we except it to be a single document
13
 * 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 5adba4c4 Vojtěch Bartička
    public EAddDocumentFormat Format { get; set; } = EAddDocumentFormat.TEXTFILE;
19 f053c1b6 Vojtěch Bartička
    public string Content { get; set; }
20
}