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; 
 | 
  
 | 
  
 | 
} 
 |