hsy
2026-08-28 a8e4132c3e2e9c3b3fcb0360901b35571b6464ea
src/main/java/com/ruoyi/measuringinstrumentledger/pojo/MeasuringInstrumentLedgerRecord.java
@@ -4,8 +4,7 @@
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.sales.pojo.CommonFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
@@ -19,58 +18,58 @@
 */
@Data
@TableName("measuring_instrument_ledger_record")
@ApiModel
@Schema
public class MeasuringInstrumentLedgerRecord {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("计量器具编号")
    @Schema(description = "计量器具编号")
    @TableField(exist = false)
    @Excel(name = "计量器具编号")
    private String code;
    @ApiModelProperty("名称")
    @Schema(description = "名称")
    @TableField(exist = false)
    @Excel(name = "名称")
    private String name;
    @ApiModelProperty("计量器具名称")
    @Schema(description = "计量器具名称")
    @TableField(exist = false)
    @Excel(name = "计量器具名称")
    private String model;
    @ApiModelProperty("附件id")
    @Schema(description = "附件id")
    @TableField(exist = false)
    private List<String> tempFileIds;
    @TableField(exist = false)
    @ApiModelProperty("附件列表")
    @Schema(description = "附件列表")
    private List<CommonFile> commonFiles;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("计量器具台账id")
    @Schema(description = "计量器具台账id")
    private Long measuringInstrumentLedgerId;
    @ApiModelProperty("检定人id")
    @Schema(description = "检定人id")
    private Long userId;
    @ApiModelProperty("检定人名称")
    @Schema(description = "检定人名称")
    @Excel(name = "检定人名称")
    private String userName;
    /**
     * 检定日期
     */
    @ApiModelProperty("检定日期")
    @Schema(description = "检定日期")
    @Excel(name = "检定日期" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date recordDate;
    @ApiModelProperty("录入日期")
    @Schema(description = "录入日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "录入日期" , width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE)
@@ -79,14 +78,47 @@
    /**
     * 有效期(单位天)
     */
    @ApiModelProperty("有效期(单位天)")
    @Schema(description = "有效期(单位天)")
    private Integer valid;
    @Schema(description = "溯源/核查类型")
    @Excel(name = "溯源/核查类型")
    private String traceabilityType;
    @Schema(description = "实施机构")
    @Excel(name = "实施机构")
    private String implementingAgency;
    @Schema(description = "证书编号")
    @Excel(name = "证书编号")
    private String certificateNumber;
    @Schema(description = "核心结果")
    @Excel(name = "核心结果")
    private String coreResult;
    @Schema(description = "结果确认")
    @Excel(name = "结果确认")
    private String resultConfirmation;
    @Schema(description = "有效期至")
    @Excel(name = "有效期至", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date validUntil;
    @Schema(description = "确认人id")
    private Long confirmerId;
    @Schema(description = "确认人")
    @Excel(name = "确认人")
    private String confirmerName;
    /**
     * 状态(1-有效 2-逾期)
     */
    @ApiModelProperty("状态(1-有效 2-逾期)")
    @Schema(description = "状态(1-有效 2-逾期)")
    private Integer status;
    /**