Admin
2025-12-02 9e42f0dafa019f5ecf6b0ff425ecb966b002171e
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化,请在代码生器重新生成此Model
 */
 
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA.Entity.SystemModels;
 
namespace WIDESEA.Entity.DomainModels
{
    [Entity(TableCnName = "物料信息", TableName = "Dt_materielinfo")]
    public class Dt_materielinfo : BaseEntity
    {
        /// <summary>
        ///ID
        /// </summary>
        [Key]
        [Display(Name = "ID")]
        [Column(TypeName = "uniqueidentifier")]
        [Required(AllowEmptyStrings = false)]
        public Guid materiel_pkid { get; set; }
 
        /// <summary>
        ///物料id
        /// </summary>
        [Display(Name = "物料id")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string materiel_id { get; set; }
 
        /// <summary>
        ///所属库区
        /// </summary>
        [Display(Name = "所属库区")]
        [MaxLength(80)]
        [Column(TypeName = "nvarchar(80)")]
        [Editable(true)]
        public string materiel_areaid { get; set; }
 
        /// <summary>
        ///物料名称
        /// </summary>
        [Display(Name = "物料名称")]
        [MaxLength(400)]
        [Column(TypeName = "nvarchar(400)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string materiel_name { get; set; }
 
        /// <summary>
        ///物料信息描述
        /// </summary>
        [Display(Name = "物料信息描述")]
        [MaxLength(400)]
        [Column(TypeName = "nvarchar(400)")]
        [Editable(true)]
        public string materiel_desc { get; set; }
 
        /// <summary>
        ///包装规格
        /// </summary>
        [Display(Name = "包装规格")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        [Editable(true)]
        public string materiel_packspes { get; set; }
 
        /// <summary>
        ///当前状态
        /// </summary>
        [Display(Name = "当前状态")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        [Editable(true)]
        public string materiel_state { get; set; }
 
        /// <summary>
        ///物料类型
        /// </summary>
        [Display(Name = "物料类型")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        [Editable(true)]
        public string materiel_type { get; set; }
 
        /// <summary>
        ///计量单位
        /// </summary>
        [Display(Name = "计量单位")]
        [MaxLength(20)]
        [Column(TypeName = "nvarchar(20)")]
        [Editable(true)]
        public string materiel_unit { get; set; }
 
        /// <summary>
        ///最小包装数
        /// </summary>
        [Display(Name = "最小包装数")]
        [DisplayFormat(DataFormatString = "18,2")]
        [Column(TypeName = "decimal")]
        [Editable(true)]
        public decimal? materiel_minpack_qty { get; set; }
 
        /// <summary>
        ///生产商
        /// </summary>
        [Display(Name = "生产商")]
        [MaxLength(80)]
        [Column(TypeName = "nvarchar(80)")]
        [Editable(true)]
        public string materiel_mfacturer { get; set; }
 
        /// <summary>
        ///供应商
        /// </summary>
        [Display(Name = "供应商")]
        [MaxLength(80)]
        [Column(TypeName = "nvarchar(80)")]
        [Editable(true)]
        public string materiel_supplier { get; set; }
 
        /// <summary>
        ///净重
        /// </summary>
        [Display(Name = "净重")]
        [DisplayFormat(DataFormatString = "18,2")]
        [Column(TypeName = "decimal")]
        [Editable(true)]
        public decimal? materiel_netweight { get; set; }
 
        /// <summary>
        ///毛重
        /// </summary>
        [Display(Name = "毛重")]
        [DisplayFormat(DataFormatString = "18,2")]
        [Column(TypeName = "decimal")]
        [Editable(true)]
        public decimal? materiel_grossweight { get; set; }
 
        /// <summary>
        ///有效期
        /// </summary>
        [Display(Name = "有效期")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? materiel_validity { get; set; }
 
        /// <summary>
        ///安全库存
        /// </summary>
        [Display(Name = "安全库存")]
        [DisplayFormat(DataFormatString = "18,2")]
        [Column(TypeName = "decimal")]
        [Editable(true)]
        public decimal? materiel_safety { get; set; }
 
        /// <summary>
        ///创建者
        /// </summary>
        [Display(Name = "创建者")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string materiel_creator { get; set; }
 
        /// <summary>
        ///创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public DateTime materiel_createtime { get; set; }
 
        /// <summary>
        ///备注
        /// </summary>
        [Display(Name = "备注")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        [Editable(true)]
        public string materiel_remark { get; set; }
 
        /// <summary>
        ///适用车型
        /// </summary>
        [Display(Name = "适用车型")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        [Required(AllowEmptyStrings = false)]
        [Editable(true)]
        public string materiel_suitMateriel { get; set; }
    }
}