919c1b6a
李曜臣
1
|
1
2
3
4
|
namespace FoodLabeling.Application.Contracts.Dtos.Label;
public class LabelCreateInputVo
{
|
8e0c49eb
李曜臣
产品标签类别优化;
|
5
|
public string? LabelCode { get; set; }
|
919c1b6a
李曜臣
1
|
6
7
8
9
10
|
public string LabelName { get; set; } = string.Empty;
public string TemplateCode { get; set; } = string.Empty;
|
10fd1324
李曜臣
5-17接口优化
|
11
12
13
14
15
16
17
18
19
20
21
|
/// <summary>
/// 适用 Company(<c>fl_partner.Id</c>);与 <see cref="PartnerIds"/> 合并,用于解析所属门店
/// </summary>
public string? PartnerId { get; set; }
/// <summary>
/// 适用 Company 多选(<c>fl_partner.Id</c>)
/// </summary>
public List<string>? PartnerIds { get; set; }
/// <summary>
|
49755ef0
李曜臣
6-12代码优化
|
22
23
24
25
26
27
|
/// 适用 Region 范围:<c>ALL</c>(全选)/ <c>SPECIFIED</c>(按 <see cref="RegionIds"/>)。传了有效 regionIds 时按 SPECIFIED 处理。
/// </summary>
public string? AppliedRegionType { get; set; }
/// <summary>
/// 适用 Region 多选(<c>fl_group.Id</c>);与 <see cref="GroupIds"/> 合并,落库 <c>fl_label_region</c>
|
10fd1324
李曜臣
5-17接口优化
|
28
29
30
31
32
33
34
35
36
|
/// </summary>
public List<string>? RegionIds { get; set; }
/// <summary>
/// 适用 Region 多选(与 <see cref="RegionIds"/> 相同)
/// </summary>
public List<string>? GroupIds { get; set; }
/// <summary>
|
7083cd6d
李曜臣
优化代码
|
37
|
/// 适用门店 Id 数组(<c>location.Id</c>,落库 <c>fl_label_location</c>);主字段
|
10fd1324
李曜臣
5-17接口优化
|
38
|
/// </summary>
|
7083cd6d
李曜臣
优化代码
|
39
|
public List<string>? LocationIds { get; set; }
|
10fd1324
李曜臣
5-17接口优化
|
40
41
|
/// <summary>
|
7083cd6d
李曜臣
优化代码
|
42
|
/// 兼容旧入参:单门店 Id;与 <see cref="LocationIds"/> 合并,首项写入 <c>fl_label.LocationId</c>
|
10fd1324
李曜臣
5-17接口优化
|
43
|
/// </summary>
|
7083cd6d
李曜臣
优化代码
|
44
|
public string? LocationId { get; set; }
|
919c1b6a
李曜臣
1
|
45
46
47
|
public string LabelCategoryId { get; set; } = string.Empty;
|
1b68006d
李曜臣
20260708
|
48
49
|
/// <summary>标签类型 Id(<c>fl_label_type.Id</c>);可选,未传时标签不绑定类型</summary>
public string? LabelTypeId { get; set; }
|
919c1b6a
李曜臣
1
|
50
51
52
53
54
55
56
|
public List<string> ProductIds { get; set; } = new();
public object? LabelInfoJson { get; set; }
public bool State { get; set; } = true;
}
|