qinchulong
2024-10-12 b17d60113095491a95557f6f785cb1c0e744e8cc
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models
{
    /// <summary>
    /// 任务
    ///</summary>
    [SugarTable("Dt_Task")]
    public class Dt_Task: BaseEntity
    {
        
     
        /// <summary>
        /// 备  注:主键
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="TaskId" ,IsPrimaryKey = true) ]
        public Guid TaskId  { get; set;  } 
     
        /// <summary>
        /// 备  注:任务号
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="TaskNum" ) ]
        public int? TaskNum  { get; set;  } 
     
        /// <summary>
        /// 备  注:托盘编号
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="PalletCode" ) ]
        public string? PalletCode  { get; set;  } 
     
        /// <summary>
        /// 备  注:单据编号
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="InboundNo" ) ]
        public string? InboundNo  { get; set;  } 
     
        /// <summary>
        /// 备  注:巷道
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="Roadway" ) ]
        public string? Roadway  { get; set;  }
 
        /// <summary>
        /// 备  注:货位
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "LocationCode")]
        public string? LocationCode { get; set; }
 
        
        /// <summary>
        /// 备  注:任务类型(1,一般入库  2,盘点入库 3,分拣入库  4,质检入库  5,库内移库 6,库外移库 )
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="TaskType" ) ]
        public string? TaskType  { get; set;  } 
     
        /// <summary>
        /// 备  注:任务状态(1,任务待下发  2,输送线执行中 3,输送线完成  4,AGV执行中  5,AGV完成 6,堆垛机执行中 7,堆垛机完成   8,任务完成,9,任务取消)
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="TaskState" ) ]
        public string? TaskState  { get; set;  } 
     
        /// <summary>
        /// 备  注:物料编号
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="MaterialNo" ) ]
        public string? MaterialNo  { get; set;  } 
     
        /// <summary>
        /// 备  注:起始地址
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="SourceAddress" ) ]
        public string? SourceAddress  { get; set;  } 
     
        /// <summary>
        /// 备  注:目标地址
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="TargetAddress" ) ]
        public string? TargetAddress  { get; set;  } 
     
        /// <summary>
        /// 备  注:当前位置
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="CurrentAddress" ) ]
        public string? CurrentAddress  { get; set;  } 
     
        /// <summary>
        /// 备  注:下一地址
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="NextAddress" ) ]
        public string? NextAddress  { get; set;  } 
     
        /// <summary>
        /// 备  注:优先级
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="Grade" ) ]
        public int? Grade  { get; set;  } 
     
        /// <summary>
        /// 备  注:任务下发时间
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="Dispatchertime" ) ]
        public DateTime? Dispatchertime  { get; set;  } 
     
        /// <summary>
        /// 备  注:备注
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="Remark" ) ]
        public string? Remark  { get; set;  } 
     
        
     
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="Spare1" ) ]
        public string? Spare1  { get; set;  } 
     
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</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;  }
 
        [Navigate(NavigateType.OneToMany, nameof(Dt_TaskExecuteDetail.TaskId))]
        public List<Dt_TaskExecuteDetail> Dt_TaskExecuteDetailList { get; set; }
    }
    
}