FlLabelTemplateElementDbEntity.cs
1.04 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
using SqlSugar;
namespace FoodLabeling.Application.Services.DbModels;
[SugarTable("fl_label_template_element")]
public class FlLabelTemplateElementDbEntity
{
[SugarColumn(IsPrimaryKey = true)]
public string Id { get; set; } = string.Empty;
public string TemplateId { get; set; } = string.Empty;
public string ElementKey { get; set; } = string.Empty;
public string ElementType { get; set; } = string.Empty;
public decimal PosX { get; set; }
public decimal PosY { get; set; }
public decimal Width { get; set; }
public decimal Height { get; set; }
public string Rotation { get; set; } = "horizontal";
public string BorderType { get; set; } = "none";
public int ZIndex { get; set; }
public int OrderNum { get; set; }
public string ValueSourceType { get; set; } = "FIXED";
public string? BindingExpr { get; set; }
public string? AutoQueryKey { get; set; }
public string? InputKey { get; set; }
public bool IsRequiredInput { get; set; }
public string? ConfigJson { get; set; }
}