分支自 SuZhouGuanHong/TaiYuanTaiZhong

dengjunjie
2024-04-16 f0e2d9d2c7c41b311217bdb2c4d114ff53f6a146
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
/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化,请在代码生器重新生成此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_inventory")]
    public partial class dt_inventory : BaseEntity
    {
        /// <summary>
        ///车轮SN号
        /// </summary>
        [Display(Name = "车轮SN号")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string SN { get; set; }
 
        /// <summary>
        ///产品名称
        /// </summary>
        [Display(Name = "产品名称")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string Name { get; set; }
 
        /// <summary>
        ///产品图号
        /// </summary>
        [Display(Name = "产品图号")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string FigureNumber { get; set; }
 
        /// <summary>
        ///物料编码
        /// </summary>
        [Display(Name = "物料编码")]
        [MaxLength(20)]
        [Column(TypeName = "nvarchar(20)")]
        [Editable(true)]
        public string materialCode { get; set; }
 
        /// <summary>
        ///技术状态
        /// </summary>
        [Display(Name = "技术状态")]
        [MaxLength(10)]
        [Column(TypeName = "nvarchar(10)")]
        [Editable(true)]
        public string drawingNoVer { get; set; }
        /// <summary>
        ///熔炼炉号
        /// </summary>
        //[Display(Name = "熔炼炉号")]
        //[MaxLength(255)]
        //[Column(TypeName = "varchar(255)")]
        //[Editable(true)]
        //public string HearthNumber { get; set; }
 
        /// <summary>
        ///炉代号
        /// </summary>
        [Display(Name = "炉代号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string HeatNumber { get; set; }
 
        /// <summary>
        ///钢坯号
        /// </summary>
        [Display(Name = "钢坯号")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? BilletNumber { get; set; }
 
        /// <summary>
        ///入库时间
        /// </summary>
        [Display(Name = "入库时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        public DateTime? OnlineTime { get; set; }
 
        /// <summary>
        ///操作人员
        /// </summary>
        [Display(Name = "操作人员")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string Operator { get; set; }
 
        /// <summary>
        ///描述
        /// </summary>
        [Display(Name = "描述")]
        [Column(TypeName = "nvarchar(max)")]
        [Editable(true)]
        public string remark { get; set; }
 
        /// <summary>
        ///ID
        /// </summary>
        //[Key]
        //[Display(Name = "ID")]
        //[Column(TypeName = "int")]
        //[Editable(true)]
        //[Required(AllowEmptyStrings = false)]
        //public int ID { get; set; }
        [Key]
        [Display(Name = "ID")]
        [Column(TypeName = "uniqueidentifier")]
        [Required(AllowEmptyStrings = false)]
        public Guid ID { get; set; }
        /// <summary>
        ///货位编号
        /// </summary>
        [Display(Name = "货位编号")]
        [MaxLength(30)]
        [Column(TypeName = "nvarchar(30)")]
        public string stationCode { get; set; }
 
        [Display(Name = "区域代码")]
        [Column(TypeName = "nvarchar(15)")]
        [Editable(true)]
        public string area { get; set; }
        /// <summary>
        /// 工作令号
        /// </summary>
        [Display(Name = "工单编号")]
        [Column(TypeName = "nvarchar(40)")]
        [Editable(true)]
        public string jobID { get; set; }
    }
}