value
2023-08-30 19c9e29273e8e751847d9dcb06b346dede48d2c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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;
}