LabelGetOutputDto.cs
1.52 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
namespace FoodLabeling.Application.Contracts.Dtos.Label;
public class LabelGetOutputDto
{
public string Id { get; set; } = string.Empty;
public string LabelName { get; set; } = string.Empty;
public string LocationId { get; set; } = string.Empty;
public string LocationName { get; set; } = string.Empty;
/// <summary>适用 Company Id(由所属门店反推)</summary>
public string? PartnerId { get; set; }
public List<string> PartnerIds { get; set; } = new();
/// <summary>适用 Region 范围:ALL / SPECIFIED</summary>
public string AppliedRegionType { get; set; } = "SPECIFIED";
/// <summary>适用 Region Id 数组(<c>fl_group.Id</c>;ALL 时为空)</summary>
public List<string> RegionIds { get; set; } = new();
/// <summary>Region 展示名(列表用,逗号拼接)</summary>
public string Region { get; set; } = string.Empty;
/// <summary>与 <see cref="RegionIds"/> 相同</summary>
public List<string> GroupIds { get; set; } = new();
public string LabelCategoryId { get; set; } = string.Empty;
public string LabelCategoryName { get; set; } = string.Empty;
public string LabelTypeId { get; set; } = string.Empty;
public string LabelTypeName { get; set; } = string.Empty;
public string TemplateCode { get; set; } = string.Empty;
public string TemplateName { get; set; } = string.Empty;
public bool State { get; set; }
public object? LabelInfoJson { get; set; }
public List<string> ProductIds { get; set; } = new();
}