package com.ruoyi.measuringinstrumentledger.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* @author :yys
|
* @date : 2025/8/5 9:50
|
*/
|
@Data
|
@Schema
|
public class MeasuringInstrumentLedgerDto {
|
|
@Schema(description = "ID")
|
private Long id;
|
|
@Schema(description = "附件id")
|
private List<String> tempFileIds;
|
|
@Schema(description = "检定日期")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE)
|
private Date recordDate;
|
|
@Schema(description = "录入日期")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE)
|
private Date entryDate;
|
|
|
@Schema(description = "有效期")
|
private Integer valid;
|
|
@Schema(description = "检定人")
|
private Long userId;
|
|
@Schema(description = "溯源/核查类型")
|
private String traceabilityType;
|
|
@Schema(description = "实施机构")
|
private String implementingAgency;
|
|
@Schema(description = "证书编号")
|
private String certificateNumber;
|
|
@Schema(description = "核心结果")
|
private String coreResult;
|
|
@Schema(description = "结果确认")
|
private String resultConfirmation;
|
|
@Schema(description = "确认人id")
|
private Long confirmerId;
|
|
@Schema(description = "确认人")
|
private String confirmerName;
|
|
@Schema(description = "有效期至")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date validUntil;
|
}
|