payne
2024-04-23 0a4fdc2b4d0f5fb7d16fbd0182bef305105e3eae
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
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace Admin.NET.Core
{
    /// <summary>
    /// 库口表
    /// </summary>
    [Table("wms_warehouse_entrance")]
    [Comment("库口表")]
    public class WmsWarehouseEntrance : DEntityBase
    {
        /// <summary>
        /// 名称
        /// </summary>
        [Comment("名称")]
        [Required, MaxLength(100)]
        public string Name { get; set; }
 
        /// <summary>
        /// 编码
        /// </summary>
        [Comment("编码")]
        [Required, MaxLength(50)]
        public string Code { get; set; }
 
        /// <summary>
        /// 类型-1.入库_2.出库
        /// </summary>
        [Comment("类型-1.入库口_2.出库口")]
        [Required]
        public WarehouseEntranceEnum Type { get; set; }
 
        /// <summary>
        /// 所属车间
        /// </summary>
        [Comment("所属车间")]
        public LesWorkShopType LesWorkShopType { get; set; }
 
        /// <summary>
        /// 所属巷道
        /// </summary>
        [Comment("所属巷道")]
        public int AffiliatedRoadway { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        [Comment("备注")]
        [MaxLength(100)]
        public string Remark { get; set; }
 
        /// <summary>
        /// 状态(字典 0正常 1停用 2删除)
        /// </summary>
        [Comment("状态")]
        public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
    }
}