package cn.besteam.modules.medical.dto; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import javax.validation.constraints.NotNull; import java.math.BigDecimal; import java.util.Date; @Data @ApiModel public class MwCollectRecordSupplyDTO { @ApiModelProperty(value = "医院ID") private Integer hospitalId; @ApiModelProperty(value = "科室ID") @NotNull(message = "科室不能为空") private Integer departmentId; @ApiModelProperty(value = "科室人员ID") @NotNull(message = "科室人员不能为空") private Integer departmentUserId; @ApiModelProperty(value = "医废类型") @NotNull(message = "医废类型不能为空") private Integer wasteType; @ApiModelProperty(value = "重量/数量") @NotNull(message = "重量/数量不能为空") private BigDecimal weight; @ApiModelProperty(value = "备注") private String description; @ApiModelProperty(value = "收集时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date createTime; @ApiModelProperty(value = "收集人员ID") private Integer createBy; @ApiModelProperty(value = "状态1未入库2已入库3已出库") private Integer status; @ApiModelProperty(value = "出库配置") private Integer transitConfigId; @ApiModelProperty(value = "暂存间ID") private Integer warehouseId; }