919c1b6a
李曜臣
1
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
using SqlSugar;
namespace FoodLabeling.Application.Services.DbModels;
[SugarTable("fl_label")]
public class FlLabelDbEntity
{
[SugarColumn(IsPrimaryKey = true)]
public string Id { get; set; } = string.Empty;
public bool IsDeleted { get; set; }
public DateTime CreationTime { get; set; }
public string? CreatorId { get; set; }
public string? LastModifierId { get; set; }
public DateTime? LastModificationTime { get; set; }
public string ConcurrencyStamp { get; set; } = string.Empty;
|
8e0c49eb
李曜臣
产品标签类别优化;
|
23
|
public string? LabelCode { get; set; }
|
919c1b6a
李曜臣
1
|
24
25
26
27
28
29
30
|
public string LabelName { get; set; } = string.Empty;
public string TemplateId { get; set; } = string.Empty;
public string? LocationId { get; set; }
|
49755ef0
李曜臣
6-12代码优化
|
31
32
33
34
35
36
|
/// <summary>
/// 适用 Region 范围:ALL / SPECIFIED。未执行 DDL 时由 <see cref="Helpers.LabelRegionSchemaHelper"/> 读写,ORM 忽略本列。
/// </summary>
[SugarColumn(IsIgnore = true)]
public string AppliedRegionType { get; set; } = "SPECIFIED";
|
919c1b6a
李曜臣
1
|
37
38
39
40
41
42
43
44
45
|
public string? LabelCategoryId { get; set; }
public string? LabelTypeId { get; set; }
public string? LabelType { get; set; }
public bool State { get; set; }
/// <summary>
|
540ac0e3
杨鑫
前端修改bug
|
46
47
48
49
50
|
/// 适用 Region 范围:ALL=全平台;SPECIFIED=按 <c>fl_label_region</c> 关联
/// </summary>
public string AppliedRegionType { get; set; } = "SPECIFIED";
/// <summary>
|
919c1b6a
李曜臣
1
|
51
52
53
54
|
/// json 字段,直接保存为字符串(入参/出参自行序列化/反序列化)
/// </summary>
public string? LabelInfoJson { get; set; }
}
|