TaskWarehouse.cs
2.68 KB
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
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace HHECS.Model.Entities
{
/// <summary>
/// 立库任务
/// </summary>
[Serializable]
[Table("task_warehouse")]
public class TaskWarehouse : BaseEntityCU<int>
{
/// <summary>
/// 料单编码
/// </summary>
[Column("billCode")]
[MaxLength(50)]
public string BillCode { get; set; }
/// <summary>
/// 物料编码
/// </summary>
[Column("materialCode")]
[MaxLength(50)]
public string MaterialCode { get; set; }
/// <summary>
/// 管材SN码
/// </summary>
[Column("pipeSN")]
[MaxLength(50)]
public string PipeSN { get; set; }
/// <summary>
/// 库存ID
/// </summary>
[Column("inventoryId")]
public int InventoryId { get; set; }
/// <summary>
/// 管材长度
/// </summary>
[Column("pipeLength")]
public decimal? PipeLength { get; set; }
/// <summary>
/// 线体编码
/// </summary>
[Column("lineCode")]
[MaxLength(50)]
public string LineCode { get; set; }
/// <summary>
/// 任务类型
/// </summary>
[Column("taskType")]
public int TaskType { get; set; }
/// <summary>
/// 取货地址
/// </summary>
[Column("fromAddress")]
[MaxLength(50)]
public string FromAddress { get; set; }
/// <summary>
/// 去向地址
/// </summary>
[Column("toAddress")]
[MaxLength(50)]
public string ToAddress { get; set; }
/// <summary>
/// 重入标识
/// </summary>
[Column("isDoubleIn")]
public int IsDoubleIn { get; set; }
/// <summary>
/// 重入的去向地址
/// </summary>
[Column("doubleInToAddress")]
[MaxLength(50)]
public string DoubleInToAddress { get; set; }
/// <summary>
/// 任务重发
/// </summary>
[Column("resend")]
public int Resend { get; set; }
/// <summary>
/// 任务状态
/// </summary>
[Column("state")]
public int State { get; set; }
/// <summary>
/// 开始时间
/// </summary>
[Column("startTime")]
public DateTime StartTime { get; set; }
/// <summary>
/// 结束时间
/// </summary>
[Column("EndTime")]
public DateTime EndTime { get; set; }
}
}