FlLabelPrintTaskDbEntity.cs
1.29 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
51
52
53
54
using SqlSugar;
namespace FoodLabeling.Application.Services.DbModels;
/// <summary>
/// 标签打印任务(对应表:fl_label_print_task)
/// </summary>
[SugarTable("fl_label_print_task")]
public class FlLabelPrintTaskDbEntity
{
[SugarColumn(IsPrimaryKey = true)]
public string Id { get; set; } = string.Empty;
public string? BatchId { get; set; }
public int CopyIndex { get; set; } = 1;
public string? ClientRequestId { get; set; }
public string LabelId { get; set; } = string.Empty;
public string TemplateId { get; set; } = string.Empty;
public string? LabelTypeId { get; set; }
public string? ProductId { get; set; }
public string? LocationId { get; set; }
public DateTime? BaseTime { get; set; }
public string? PrintInputJson { get; set; }
public string? TemplateProductDefaultValuesJson { get; set; }
public string RenderTemplateJson { get; set; } = string.Empty;
public string? PrinterId { get; set; }
public string? PrinterMac { get; set; }
public string? PrinterAddress { get; set; }
public string Status { get; set; } = "CREATED";
public DateTime? PrintedAt { get; set; }
public string? ErrorMessage { get; set; }
public string? CreatedBy { get; set; }
public DateTime CreationTime { get; set; }
}