| 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("仓库管理-出入库单信息表 - bean") | 
| public class WOutBoundBean { | 
|   | 
|   | 
|   | 
|     @ApiModelProperty(value = "计划时间") | 
|     @NotNull( message = "计划时间不能为空") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date planDate; | 
|   | 
|     @ApiModelProperty(value = "单据日期") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
| //    @NotNull( message = "单据日期不能为空") | 
|     private Date validDate; | 
|   | 
|     @ApiModelProperty(value = "仓库编码") | 
|     @NotNull( message = "仓库编码不能为空") | 
|     private Integer warehouseId; | 
|   | 
|     @ApiModelProperty(value = "出入库类型 0出库单 1入库单") | 
|     @NotNull( message = "出入库类型不能为空") | 
|     private Integer type; | 
|   | 
|     @ApiModelProperty(value = "单据来源 0手工创建、1系统创建") | 
|     @NotNull( message = "单据来源不能为空") | 
|     private Integer origin; | 
|   | 
|     @ApiModelProperty(value = "单据摘要信息") | 
|     private String abstracts; | 
|   | 
|     @ApiModelProperty(value = "来源单据类型 0采购订单、1生产工单、2销售订单、3转库单、4盘点单") | 
|     private Integer originType; | 
|   | 
|     @ApiModelProperty(value = "来源单据号码") | 
|     private String originCode; | 
|   | 
|     @ApiModelProperty(value = "来源单据ID(根据ORIGIN_TYPE确定关联关系)", example = "1") | 
|     private Integer originId; | 
|   | 
|     @ApiModelProperty(value = "单据类型", example = "1") | 
|     private Integer billType; | 
|   | 
|     @ApiModelProperty(value = "明细数据") | 
|     private List<WoutBoundDetailBean> woutBoundDetailBeans; | 
|   | 
|   | 
| } |