LabelUpdateInputVo.cs
1.34 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
namespace FoodLabeling.Application.Contracts.Dtos.Label;
public class LabelUpdateInputVo
{
public string LabelName { get; set; } = string.Empty;
public string TemplateCode { get; set; } = string.Empty;
public string? PartnerId { get; set; }
public List<string>? PartnerIds { get; set; }
/// <summary>
/// 适用 Region 范围:<c>ALL</c> / <c>SPECIFIED</c>(见 <see cref="RegionIds"/>)
/// </summary>
public string? AppliedRegionType { get; set; }
public List<string>? RegionIds { get; set; }
public List<string>? GroupIds { get; set; }
/// <summary>
/// 适用门店 Id 数组(<c>location.Id</c>,落库 <c>fl_label_location</c>);主字段,全量覆盖
/// </summary>
public List<string>? LocationIds { get; set; }
/// <summary>
/// 兼容旧入参:单门店 Id;与 <see cref="LocationIds"/> 合并,首项写入 <c>fl_label.LocationId</c>
/// </summary>
public string? LocationId { get; set; }
public string LabelCategoryId { get; set; } = string.Empty;
/// <summary>标签类型 Id(<c>fl_label_type.Id</c>);可选,未传时清空类型绑定</summary>
public string? LabelTypeId { get; set; }
public List<string> ProductIds { get; set; } = new();
public object? LabelInfoJson { get; set; }
public bool State { get; set; } = true;
}