package com.yuanchu.limslaboratory.pojo.dto; import com.baomidou.mybatisplus.annotation.TableId; 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.util.Date; @Data @EqualsAndHashCode(callSuper = false) @ApiModel(value="UpdateMetricalInformationDto对象", description="") public class UpdateMetricalInformationDto { private static final long serialVersionUID = 1L; @ApiModelProperty(value = "主键") private Integer id; @ApiModelProperty(value = "用户关联Id", example = "7", required = true) private Integer userId; @ApiModelProperty(value = "计量单位", example = "GB", required = true) private String measurementUnit; @ApiModelProperty(value = "开始日期", example = "2023-07-06", required = true, dataType = "date") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME) private Date beginDate; @ApiModelProperty(value = "结束日期", example = "2026-07-06", required = true, dataType = "date") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME) private Date endDate; @ApiModelProperty(value = "不确定度", example = "0.3%", required = true) private String uncertainty; @ApiModelProperty(value = "结果: 1:合格;2:矫正后可用;3:不合格", example = "1", required = true) private Integer result; @ApiModelProperty(value = "性能指标", example = "10086") private String performanceIndex; @ApiModelProperty(value = "备注", example = "10086.com") private String remarks; @ApiModelProperty(value = "文件路径", hidden = true) private String filePath; }