liyong
18 小时以前 1ca5584d7e3200a9af65a099bd26d3593e2ba702
src/main/java/com/ruoyi/measuringinstrumentledger/pojo/MeasuringInstrumentLedger.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,55 +18,55 @@
 */
@Data
@TableName("measuring_instrument_ledger")
@ApiModel
@Schema
public class MeasuringInstrumentLedger {
    private static final long serialVersionUID = 1L;
    @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 userId;
    @ApiModelProperty("录入人名称")
    @Schema(description = "录入人名称")
    @Excel(name = "录入人名称")
    private String userName;
    /**
     * 计量器具编号
     */
    @ApiModelProperty("计量器具编号")
    @Schema(description = "计量器具编号")
    @Excel(name = "计量器具编号")
    private String code;
    /**
     * 计量器具名称
     */
    @ApiModelProperty("计量器具名称")
    @Schema(description = "计量器具名称")
    @Excel(name = "计量器具名称")
    private String name;
    /**
     * 规格型号
     */
    @ApiModelProperty("规格型号")
    @Schema(description = "规格型号")
    @Excel(name = "规格型号")
    private String model;
    /**
     * 最近一次检定日期
     */
    @ApiModelProperty("最近一次检定日期")
    @Schema(description = "最近一次检定日期")
    @Excel(name = "最近一次检定日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
@@ -77,14 +76,14 @@
    /**
     * 检定有效期
     */
    @ApiModelProperty("检定有效期")
    @Schema(description = "检定有效期")
    @Excel(name = "检定有效期")
    private Integer valid;
    /**
     * 预计下次检定日期
     */
    @ApiModelProperty("预计下次检定日期")
    @Schema(description = "预计下次检定日期")
    @Excel(name = "预计下次检定日期" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
@@ -93,7 +92,7 @@
    /**
     * 录入日期
     */
    @ApiModelProperty("录入日期")
    @Schema(description = "录入日期")
    @Excel(name = "录入日期" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
@@ -103,7 +102,7 @@
    /**
     * 状态(1-有效 2-逾期)
     */
    @ApiModelProperty("状态(1-有效 2-逾期)")
    @Schema(description = "状态(1-有效 2-逾期)")
    @Excel(name = "状态", readConverterExp = "1=有效,2=逾期")
    private Integer status;
@@ -138,13 +137,14 @@
    private Long tenantId;
    @ApiModelProperty("单位")
    @Schema(description = "单位")
    private String unit;
    @ApiModelProperty("部门id")
    @Schema(description = "部门id")
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
    @ApiModelProperty("安装位置")
    @Schema(description = "安装位置")
    private String instationLocation;
    private String cycle;