package com.yuanchu.limslaboratory.pojo; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; import java.util.List; /** * @Author 张宾 * @Date 2023/8/17 */ @Data @EqualsAndHashCode(callSuper = false) @ApiModel(value="MeteringPlanAndInfo", description="") public class MeteringPlanAndInfo implements Serializable { private Long id; private String createPerson; @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME) @ApiModelProperty(value = "开始日期", example = "2023-07-06", required = true, dataType = "date") private Date beginTime; private String plannedOrderNumber; @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME) @ApiModelProperty(value = "结束日期", example = "2023-07-06", required = true, dataType = "date") private Date endTime; private String unit; @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME) private Date createTime; private String measurePerson; private Integer status; private ListresultList; }