liyong
16 小时以前 1ca5584d7e3200a9af65a099bd26d3593e2ba702
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,14 @@
    /**
     * 有效期(单位天)
     */
    @ApiModelProperty("有效期(单位天)")
    @Schema(description = "有效期(单位天)")
    private Integer valid;
    /**
     * 状态(1-有效 2-逾期)
     */
    @ApiModelProperty("状态(1-有效 2-逾期)")
    @Schema(description = "状态(1-有效 2-逾期)")
    private Integer status;
    /**
@@ -119,4 +118,7 @@
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}