刘磊
2025-06-09 dabbcafc629ef87d11ba55ef8cc1cdc776c047d8
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
using SqlSugar;
using WIDESEA_Core.DB.Models;
 
namespace WIDESEA_Model.Models;
 
/// <summary>
/// 物料基本信息表
///</summary>
[SugarTable("Dt_MaterielInfo")]
public class Dt_MaterielInfo : BaseEntity
{
    /// <summary>
    /// 备  注:物料ID
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "MaterielID", IsPrimaryKey = true, IsIdentity = true)]
    public int MaterielID { get; set; }
 
    /// <summary>
    /// 备  注:物料编码
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "MaterielCode", IsNullable = false)]
    public string? MaterielCode { get; set; }
 
    /// <summary>
    /// 备  注:物料名称
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "MaterielName", IsNullable = false)]
    public string? MaterielName { get; set; }
 
    /// <summary>
    /// 备  注:物料描述
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "MaterielDesc", IsNullable = true)]
    public string? MaterielDesc { get; set; }
 
    /// <summary>
    /// 备  注:当前状态(0,禁用 1,启用)
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "Status", IsNullable = false)]
    public int? Status { get; set; }
 
    /// <summary>
    /// 备  注:最小包装数
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "MinpackQty", IsNullable = true)]
    public decimal? MinpackQty { get; set; }
 
    /// <summary>
    /// 备  注:生产商
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "Mfacturer", IsNullable = true)]
    public string? Mfacturer { get; set; }
 
    /// <summary>
    /// 备  注:净重
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "Netweight", IsNullable = true)]
    public decimal? Netweight { get; set; }
 
    /// <summary>
    /// 备  注:毛重
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "Grossweight", IsNullable = true)]
    public decimal? Grossweight { get; set; }
 
    /// <summary>
    /// 备  注:有效期
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "Validity", IsNullable = true)]
    public int? Validity { get; set; }
 
    /// <summary>
    /// 备  注:安全库存
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "Safety", IsNullable = true)]
    public decimal? Safety { get; set; }
 
    /// <summary>
    /// 备  注:备注
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "Remark", IsNullable = true)]
    public string? Remark { get; set; }
}