1
z8018
2025-06-10 e46aa927d231af83724683c7286d9db503e24cf7
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
 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using WIDESEAWCS_Core.DB.Models;
 
namespace WIDESEAWCS_Model.Models
{
    [SugarTable]
    public class Dt_Container : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int Id { get; set; }
 
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 100, ColumnDescription = "编码")]
        public string ContainerCode { get; set; }
 
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "编号")]
        public int ContainerNo { get; set; }
 
        /// <summary>
        /// 类型
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "类型")]
        public int ContainerType { get; set; }
 
        /// <summary>
        /// 状态
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "状态")]
        public int ContainerStatus { get; set; }
 
        /// <summary>
        /// 长
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "长")]
        public int ContainerLength { get; set; }
 
        /// <summary>
        /// 宽
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "宽")]
        public int ContainerWidth { get; set; }
 
        /// <summary>
        /// 高
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "高")]
        public int ContainerHeight { get; set; }
 
        /// <summary>
        /// 设备编号
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "设备编号")]
        public string DeviceCode { get; set; }
 
        /// <summary>
        /// 是否启用
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "是否启用")]
        public bool ContainerEnable { get; set; }
 
        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "排序")]
        public int ContainerSort { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "备注")]
        public string ContainerRemark { get; set; }
 
        [Navigate(NavigateType.OneToMany, nameof(Dt_ContainerItem.ContainerId), nameof(Id))]
        public List<Dt_ContainerItem> Items { get; set; }
    }
}