ke_junjie
2025-06-04 84620534eb627e95811b971a4b552b6a177829bf
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
using Furion.DatabaseAccessor;
using iWare.Wms.Core;
using iWare.Wms.Core.Enum;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace iWare.Wms.Core
{
    [Comment("出库任务")]
    [Table("ware_task")]
    public class WareTask : DEntityBase
    {
        /// <summary>
        /// 单据号    
        /// </summary>
        [Comment("单据号")]
        public string OrderNo { get; set; }
        /// <summary>
        /// 任务号  
        /// </summary>
        [Comment("任务号")]
        public string TaskNo { get; set; }
        /// <summary>
        /// 任务名称    
        /// </summary>
        [Comment("任务名称")]
        public string TaskName { get; set; }
        /// <summary>
        /// 任务类别 1入库任务 2出库任务,3移库任务   
        /// </summary>
        [Comment("任务类别")]
        public TaskCategoryEnum? TaskCategory { get; set; }
        /// <summary>
        /// 任务类型 0-入库,1-出库,2-盘点出库
        /// </summary>
        [Comment("任务类型")]
        public int? TaskType { get; set; }
        /// <summary>
        /// 任务状态 0-未执行,1-已暂停,2-执行中,3-已完成    
        /// </summary>
        [Comment("任务状态")]
        public TaskStateEnum? TaskState { get; set; }
        /// <summary>
        /// 任务描述    
        /// </summary>
        [Comment("任务描述")]
        public string TaskDescribe { get; set; }
        /// <summary>
        /// 优先级    
        /// </summary>
        [Comment("优先级")]
        public int TaskPriority { get; set; }
        /// <summary>
        /// 容器编码    
        /// </summary>
        [Comment("容器编码")]
        public string ContainerCode { get; set; }
        /// <summary>
        /// 出发地库位编码    
        /// </summary>
        [Comment("出发地库位编码")]
        public string FromLocationCode { get; set; }
        /// <summary>
        /// 目的地库位编码    
        /// </summary>
        [Comment("目的地库位编码")]
        public string ToLocationCode { get; set; }
        /// <summary>
        /// 任务完成时间    
        /// </summary>
        [Comment("任务完成时间")]
        public DateTimeOffset? FinishedTime { get; set; }
        /// <summary>
        /// 所属巷道   
        /// </summary>
        [Comment("所属巷道")]
        public int? Lane { get; set; }
        /// <summary>
        /// 移库标识
        /// </summary>
        [Comment("移库标识")]
        public int? MoveFlag { get; set; }
        /// <summary>
        /// 移库起始库位
        /// </summary>
        [Comment("移库起始库位")]
        public string MoveFromLocation { get; set; }
        /// <summary>
        /// 移库目标库位
        /// </summary>
        [Comment("移库目标库位")]
        public string MoveToLocation { get; set; }
        /// <summary>
        /// 移库托盘号
        /// </summary>
        [Comment("移库托盘号")]
        public string MoveContainerCode { get; set; }
        /// <summary>
        /// 托盘类型,1 小托盘,2 大托盘
        /// </summary>
        [Comment("托盘类型")]
        public int? ContainerType { get; set; }
 
        /// <summary>
        /// 操作备注
        /// </summary>
        public string OperationRemark { get; set; }
 
        /// <summary>
        /// 零件号
        /// </summary>
        public string PartCode { get; set; }
 
        /// <summary>
        /// AGV号
        /// </summary>
        public string AgvCode { get; set; }
 
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTimeOffset? BeginTime { get; set; }
    }
}