FlLabelTemplateDbEntity.cs
1.35 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
using SqlSugar;
namespace FoodLabeling.Application.Services.DbModels;
[SugarTable("fl_label_template")]
public class FlLabelTemplateDbEntity
{
[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;
public string TemplateCode { get; set; } = string.Empty;
public string TemplateName { get; set; } = string.Empty;
public string? LabelType { get; set; }
public string Unit { get; set; } = "inch";
public decimal Width { get; set; }
public decimal Height { get; set; }
public string AppliedLocationType { get; set; } = "ALL";
public bool ShowRuler { get; set; }
public bool ShowGrid { get; set; }
/// <summary>整标签外框:none / line / dotted</summary>
public string BorderType { get; set; } = "none";
/// <summary>打印方向:vertical=竖打(默认),horizontal=横打(内容旋转90°,纸张尺寸不变)</summary>
public string PrintOrientationType { get; set; } = "vertical";
public int VersionNo { get; set; }
public bool State { get; set; }
}