cdk
2025-11-27 53c7de340f55ab0c917a03d54d883b4a8082f42d
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
using SqlSugar;
 
namespace NewPdaSqlServer.entity;
 
[SugarTable("ERP_MES_KC")]
public class ErpMesKc
{
    /// <summary>
    ///     默认值: (newid())
    /// </summary>
    [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
    public Guid ID { get; set; }
 
    [SugarColumn(ColumnName = "FNUMBER")]
    public string? FNumber { get; set; }
 
    [SugarColumn(ColumnName = "FQTY")]
    public decimal? FQty { get; set; }
 
    [SugarColumn(ColumnName = "FBASEUNIT")]
    public string? FBaseUnit { get; set; }
 
    [SugarColumn(ColumnName = "FSTOCKUNIT")]
    public string? FStockUnit { get; set; }
 
    [SugarColumn(ColumnName = "FSTOCKID")]
    public string? FStockId { get; set; }
 
    [SugarColumn(ColumnName = "CREATE_DATE")]
    public DateTime? CreateDate { get; set; }
 
    [SugarColumn(ColumnName = "FBATCHNO")]
    public string? FBatchno { get; set; }
 
    [SugarColumn(ColumnName = "FMTONO")]
    public string? FMtono { get; set; }
 
    [SugarColumn(ColumnName = "FSTOCKSTATUS")]
    public string? FStockStatus { get; set; }
 
    [SugarColumn(ColumnName = "FSTOREURNOM")]
    public decimal? FStoreUrnom { get; set; }
 
    [SugarColumn(ColumnName = "FSTOREURNUM")]
    public decimal? FStoreUrnum { get; set; }
 
    [SugarColumn(ColumnName = "FSTOCKORGID")]
    public decimal? FStockOrgId { get; set; }
 
}
 
[SugarTable("ERP_BOM")]
public class ErpBOM
{
    [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
    public Guid ID { get; set; }
    /// <summary>
    ///     默认值: (newid())
    /// </summary>
    [SugarColumn(ColumnName = "ItemProperty")]
    public string? ItemProperty { get; set; }
 
    [SugarColumn(ColumnName = "ItemId")]
    public int? ItemId { get; set; }
 
    [SugarColumn(ColumnName = "ItemName")]
    public string? ItemName { get; set; }
 
    [SugarColumn(ColumnName = "ChildItemId")]
    public int? ChildItemId { get; set; }
 
    [SugarColumn(ColumnName = "ChildItemName")]
    public string? ChildItemName { get; set; }
 
    [SugarColumn(ColumnName = "Numerator")]
    public decimal? Numerator { get; set; }
 
    [SugarColumn(ColumnName = "Denominator")]
    public decimal? Denominator { get; set; }
 
}