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
106
107
108
109
110
111
112
113
114
115
116
117
118
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using WIDESEA_Entity.SystemModels;
 
namespace WIDESEA_Entity.DomainModels
{
    [Entity(TableCnName = "PDA货位表", TableName = "base_pda_location")]
    [Table("base_pda_location")]
    public class base_pda_location : BaseEntity
    {
        /// <summary>
        ///主键
        /// </summary>
        [Key]
        [Display(Name = "id")]
        [Column(TypeName = "uniqueidentifier")]
        [Required(AllowEmptyStrings = false)]
        public Guid id { get; set; }
        /// <summary>
        ///上料货位编号
        /// </summary>
        [Display(Name = "L_Code")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(50)")]
        [Required(AllowEmptyStrings = false)]
        [Editable(true)]
        public string L_Code { get; set; }
 
        /// <summary>
        ///货位类型
        /// </summary>
        [Display(Name = "L_Type")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(100)")]
        [Editable(true)]
        public string L_Type { get; set; }
 
        /// <summary>
        ///货位名称
        /// </summary>
        [Display(Name = "L_Name")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(100)")]
        [Editable(true)]
        public string L_Name { get; set; }
        /// <summary>
        ///库房
        /// </summary>
        [Display(Name = "storeroom")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(50)")]
        [Required(AllowEmptyStrings = false)]
        [Editable(true)]
        public string storeroom { get; set; }
        /// <summary>
        ///货位状态
        /// </summary>
        [Display(Name = "L_state")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(50)")]
        [Required(AllowEmptyStrings = false)]
        [Editable(true)]
        public string L_state { get; set; }
 
        /// <summary>
        ///是否启用,1启动0禁用
        /// </summary>
        [Display(Name = "L_Status")]
        [Column(TypeName = "int")]
        [Required(AllowEmptyStrings = false)]
        [Editable(true)]
        public int L_Status { get; set; }
 
        /// <summary>
        ///创建者
        /// </summary>
        [Display(Name = "created_user")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
 
        [Editable(true)]
        public string? created_user { get; set; }
 
        /// <summary>
        ///创建时间
        /// </summary>
        [Display(Name = "created_time")]
        [Column(TypeName = "datetime")]
       // [Required(AllowEmptyStrings = false)]
       // [Editable(true)]
        public DateTime? created_time { get; set; }
 
        /// <summary>
        ///修改时间
        /// </summary>
        [Display(Name = "update_time")]
        [Column(TypeName = "datetime")]
        public DateTime? update_time { get; set; }
 
        /// <summary>
        ///货架是否存在任务:1存在,2不存在
        /// </summary>
        [Display(Name = "L_Task")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int L_Task { get; set; }
 
        /// <summary>
        ///区域
        /// </summary>
        [Display(Name = "L_region")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        //[Editable(true)]
        public string? L_region { get; set; }
    }
}