TrainingFileDto.cs
1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
namespace FoodLabeling.Application.Contracts.Dtos.Training;
public class TrainingFileDto
{
public string Id { get; set; } = string.Empty;
public string CategoryId { get; set; } = string.Empty;
public string FileName { get; set; } = string.Empty;
public string FileUrl { get; set; } = string.Empty;
/// <summary>image / doc / other</summary>
public string FileType { get; set; } = "other";
public long FileSize { get; set; }
public int OrderNum { get; set; }
public string AppliedPartnerType { get; set; } = "ALL";
/// <summary>Company 展示(ALL 时为 All Companies)</summary>
public string Company { get; set; } = string.Empty;
public List<string> PartnerIds { get; set; } = new();
/// <summary>与 <see cref="PartnerIds"/> 相同</summary>
public List<string> CompanyIds { get; set; } = new();
public string AppliedRegionType { get; set; } = "ALL";
/// <summary>Region 展示</summary>
public string Region { get; set; } = string.Empty;
public List<string> RegionIds { get; set; } = new();
/// <summary>与 <see cref="RegionIds"/> 相同</summary>
public List<string> GroupIds { get; set; } = new();
public string AvailabilityType { get; set; } = "ALL";
/// <summary>Location 展示</summary>
public string Location { get; set; } = string.Empty;
public List<string> LocationIds { get; set; } = new();
public DateTime CreationTime { get; set; }
public DateTime? LastModificationTime { get; set; }
}