wangxinhui
2024-12-26 78b99e5348592a29ca1393a5e13db619cc4eba56
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
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using WIDESEA_Entity.SystemModels;
namespace WIDESEA_Entity.DomainModels.CacheTask
{
    namespace WIDESEA_Entity.DomainModels
    {
        [Entity(TableCnName = "库存表", TableName = "dt_container")]
        [Table("dt_container")]
        public class dt_container : BaseEntity
        {
            /// <summary>
            ///主键
            /// </summary>
            [Key]
            [Display(Name = "container_id")]
            [Column(TypeName = "uniqueidentifier")]
            [Required(AllowEmptyStrings = false)]
            public Guid container_id { get; set; }
            /// <summary>
            ///缓存柜条码
            /// </summary>
            [Display(Name = "container_sn")]
            [MaxLength(100)]
            [Column(TypeName = "nvarchar(50)")]
            [Required(AllowEmptyStrings = false)]
            [Editable(true)]
            public string container_sn { get; set; }
 
            /// <summary>
            ///货位编号
            /// </summary>
            [Display(Name = "container_barcode")]
            [MaxLength(100)]
            [Column(TypeName = "nvarchar(50")]
            [Required(AllowEmptyStrings = false)]
            [Editable(true)]
            public string container_barcode { get; set; }
 
            /// <summary>
            ///物料类型
            /// </summary>
            [Display(Name = "container_materielid")]
            [MaxLength(100)]
            [Column(TypeName = "nvarchar(40")]
            [Required(AllowEmptyStrings = false)]
            [Editable(true)]
            public string container_materielid { get; set; }
            /// <summary>
            ///货位状态
            /// </summary>
            [Display(Name = "container_state")]
            [MaxLength(200)]
            [Column(TypeName = "nvarchar(50")]
            [Editable(true)]
            public string container_state { get; set; }
 
 
            /// <summary>
            ///创建者
            /// </summary>
            [Display(Name = "container_creator")]
            [MaxLength(100)]
            [Column(TypeName = "nvarchar(100)")]
 
            [Editable(true)]
            public string? container_creator { get; set; }
 
            /// <summary>
            ///创建时间
            /// </summary>
            [Display(Name = "container_createtime")]
            [Column(TypeName = "datetime")]
            [Required(AllowEmptyStrings = false)]
            public DateTime? container_createtime { get; set; }
 
            /// <summary>
            ///预留
            /// </summary>
            [Display(Name = "container_text1")]
            [MaxLength(50)]
            [Column(TypeName = "nvarchar(50")]
            [Editable(true)]
            public string container_text1 { get; set; }
            /// <summary>
            ///预留
            /// </summary>
            [Display(Name = "container_text2")]
            [MaxLength(50)]
            [Column(TypeName = "nvarchar(50")]
            [Editable(true)]
            public string container_text2 { get; set; }
            /// <summary>
            ///预留
            /// </summary>
            [Display(Name = "container_text3")]
            [MaxLength(50)]
            [Column(TypeName = "nvarchar(50")]
            [Editable(true)]
            public string container_text3 { get; set; }
        }
    }
 
}