| package doumeemes.dao.ext.bean; | 
|   | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
|   | 
| import javax.validation.constraints.NotEmpty; | 
| import javax.validation.constraints.NotNull; | 
| import java.util.Date; | 
| import java.util.List; | 
|   | 
| @Data | 
| @ApiModel("调整入库 单据head 对象类") | 
| public class WOutboundInHeadBean { | 
|   | 
|     @ApiModelProperty(value = "单据类型;25:采购入库;28:库存调整;26:客退检验入库;27:客返检验入库") | 
|     @NotNull( message = "单据类型不能为空") | 
|     private Integer type; | 
|   | 
|     @ApiModelProperty(value = "单据日期") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date validDate; | 
|   | 
|     @ApiModelProperty(value = "仓库编码") | 
|     @NotNull( message = "仓库编码不能为空") | 
|     private Integer warehouseId; | 
|   | 
|     @ApiModelProperty(value = "单据摘要") | 
|     private String abstracts; | 
|   | 
|     @ApiModelProperty(value = "明细数据") | 
|     @NotEmpty(message = "提交明细数据不能为空") | 
|     private List<WOutboundInBodyBean> wOutboundInBodyBeanList; | 
|   | 
|   | 
|   | 
|   | 
| } |