jiangping
2023-08-18 af00e89990ae9757cc9261cbe560873c2066b69c
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
package doumeemes.dao.ext.bean;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import doumeemes.core.annotation.excel.ExcelColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
 
@Data
@ApiModel("仓库管理 - 转库单信息表头")
public class WTransferBean {
 
    @ApiModelProperty(value = "单据来源 0手工创建、1系统创建"  ,example = "1"  )
    @NotNull( message = "单据来源不能为空")
    private Integer origin;
 
    @ApiModelProperty(value = "单据日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date validDate;
 
    @ApiModelProperty(value = "单据类型 1、车间领料;2、车间备料;3、其他",example = "1")
    @NotNull( message = "单据类型不能为空")
    private Integer type;
 
    @ApiModelProperty(value = "来源单据类型 0销售订单 1生产工单 2其他",example = "1")
    private Integer originType;
 
    @ApiModelProperty(value = "来源单据号码")
    private String originCode;
 
    @ApiModelProperty(value = "来源单据ID(根据ORIGIN_TYPE确定关联关系)多个以,分割")
    private String originId;
 
    @ApiModelProperty(value = "单据摘要信息")
    private String abstracts;
 
    @ApiModelProperty(value = "转出仓管员编码",example = "1")
    @NotNull( message = "转出仓管员不能为空")
    private Integer outUserId;
 
    @ApiModelProperty(value = "转出仓库编码", example = "1")
    @NotNull( message = "转出仓库不能为空")
    private Integer outWarehouseId;
 
    @ApiModelProperty(value = "计划转出时间")
    @NotNull( message = "计划转出时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date outPlandate;
 
    @ApiModelProperty(value = "转入仓库编码", example = "1")
    @NotNull( message = "转入仓库不能为空")
    private Integer inWarehouseId;
 
    @ApiModelProperty(value = "计划转入时间")
    @NotNull( message = "计划转入时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date inPlandate;
 
    @ApiModelProperty(value = "转库明细")
    private List<WTransferDetailBean> wTransferDetailBeanList;
 
    @ApiModelProperty(value = "转入仓管员编码")
    private Integer inUserId;
 
    @ApiModelProperty(value = "转出公司级组织编码(关联department表)", example = "1")
    private Integer outDepartId;
 
    @ApiModelProperty(value = "转入公司级组织编码(关联department表)", example = "1")
    private Integer inDepartId;
 
    @ApiModelProperty(value = "转入仓位编码")
    private Integer inLocationId;
 
    @ApiModelProperty(value = "工序主键")
    private Integer proceduresId;
 
    @ApiModelProperty(value = "返修申请单号(关联backorder表)")
    private Integer backOrderId;
    @ApiModelProperty(value = "工单 类型 0正常 1返工返修")
    private Integer workorderType;
    @ApiModelProperty(value = "工单编码")
    private String workorderId;
    @ApiModelProperty(value = "工单编号")
    private String workorderCode;
 
 
}