schangxiang@126.com
2024-09-04 0e97de73f6719ccd57469cea07a9f567864cc57a
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
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/*
* @author : http://www.chiner.com.cn
* @date : 2024-1-9
* @desc : 工件出库表
*/
namespace iWare.Wms.Core
{
    /// <summary>
    /// 工件出库表
    /// </summary>
    [Table("WorkPieceOutbound")]
    [Comment("工件出库表")]
    public class WorkPieceOutbound : DEntityBase
    {
 
        /// <summary>
        /// 工件OP80打的码-唯一索引
        /// </summary>
        [Comment("OP80打码")]
        [Required]
        [MaxLength(255)]
        public string OP80NewCode { get; set; }
 
        /// <summary>
        /// 小车码
        /// </summary>
        [Comment("小车码")]
        [MaxLength(32)]
        public string CarNo { get; set; }
 
        /// <summary>
        /// 阶段
        /// </summary>
        [Comment("阶段")]
        public PieceUnLineStage? UnLineStage { get; set; }
 
        /// <summary>
        /// 阶段名称
        /// </summary>
        [Comment("阶段名称")]
        public String UnLineStageName { get; set; }
 
        /// <summary>
        /// 工件号
        /// </summary>
        [Comment("工件号")]
        public string WorkPieceID { get; set; }
 
        #region 下线
 
        /// <summary>
        /// 下线时间
        /// </summary>
        [Comment("下线时间")]
        public DateTime? WorkPieceUnLineTime { get; set; }
 
 
        /// <summary>
        /// 下线人Id
        /// </summary>
        [Comment("下线人Id")]
        public long? WorkPieceUnLineUserId { get; set; }
 
        /// <summary>
        /// 下线人名称
        /// </summary>
        [Comment("下线人名称")]
        [MaxLength(32)]
        public string WorkPieceUnLineUserName { get; set; }
 
        #endregion
 
        #region 出库
 
        /// <summary>
        /// 出库时间
        /// </summary>
        [Comment("出库时间")]
        public DateTime? WorkPieceOutboundTime { get; set; }
 
 
        /// <summary>
        /// 出库人Id
        /// </summary>
        [Comment("出库人Id")]
        public long? WorkPieceOutboundUserId { get; set; }
 
        /// <summary>
        /// 出库人名称
        /// </summary>
        [Comment("出库人名称")]
        [MaxLength(32)]
        public string WorkPieceOutboundUserName { get; set; }
 
        #endregion
 
        /// <summary>
        /// 备注
        /// </summary>
        [Comment("备注")]
        [MaxLength(500)]
        public string Remark { get; set; }
    }
}