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 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; }