刘磊
2025-04-19 823752496e2a4cdb6a1fb36227cd15b8b7135336
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
using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models
{
    /// <summary>
    /// 区域表
    ///</summary>
    [SugarTable("Dt_AreaInfo")]
    public class Dt_AreaInfo : BaseEntity
    {
        
     
        /// <summary>
        /// 备  注:区域ID
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="AreaID" ,IsPrimaryKey = true,IsIdentity = true) ]
        public int AreaID  { get; set;  } 
     
        /// <summary>
        /// 备  注:区域编码
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="AreaCode" ) ]
        public string AreaCode  { get; set;  } = null!;
     
        /// <summary>
        /// 备  注:区域名称
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="AreaName" ) ]
        public string? AreaName  { get; set;  } 
     
        /// <summary>
        /// 备  注:区域类型
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="AreaType" ) ]
        public string? AreaType  { get; set;  } 
     
        /// <summary>
        /// 备  注:区域描述
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="AreaDesc" ) ]
        public string? AreaDesc  { get; set;  } 
     
        /// <summary>
        /// 备  注:区域状态
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="AreaStatus" ) ]
        public int? AreaStatus  { get; set;  } 
     
       
     
        /// <summary>
        /// 备  注: 区域点位
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="Spare1" ) ]
        public string? Spare1  { get; set;  } 
     
        /// <summary>
        /// 备  注: 对应MOM区域编码
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="Spare2" ) ]
        public string? Spare2  { get; set;  } 
     
        /// <summary>
        /// 备  注: 上位软件名称
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="Spare3" ) ]
        public string? Spare3  { get; set;  } 
     
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="Spare4" ) ]
        public string? Spare4  { get; set;  } 
     
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="Spare5" ) ]
        public string? Spare5  { get; set;  }
 
        /// <summary>
        /// 库区明细
        /// </summary>
        [SugarColumn(ColumnName = "库区明细")]
        [Navigate(NavigateType.OneToMany, nameof(Dt_WareAreaInfo.AreaID))]
        public List<Dt_WareAreaInfo> Dt_WareAreaInfoDetailList { get; set; }
    }
    
}