package com.ruoyi.project.quality.report.domain;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 检测报告对象 qms_inspection_report
|
*/
|
@Data
|
@TableName("qms_inspection_report")
|
public class InspectionReport implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/** 主键ID */
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/** 产品名称 */
|
private String productName;
|
|
/** 产品型号 */
|
private String productModel;
|
|
/** 报告编号 */
|
private String reportNo;
|
|
/** 报告日期 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date reportDate;
|
|
/** 有效期(月) */
|
private Integer validityPeriod;
|
|
/** 到期时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date expirationTime;
|
|
/** 检测单位 */
|
private String testingAgency;
|
|
/** 报告类型 */
|
private String reportType;
|
|
/** 附件上传(多URL逗号分隔) */
|
private String attachmentUrls;
|
|
/** 备注 */
|
private String remark;
|
|
/** 状态(NORMAL:正常, CANCELLED:注销) */
|
private String status;
|
|
/** 创建人 */
|
@TableField(fill = FieldFill.INSERT)
|
private Long createUser;
|
|
/** 创建时间 */
|
@TableField(fill = FieldFill.INSERT)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/** 更新人 */
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Long updateUser;
|
|
/** 更新时间 */
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date updateTime;
|
|
/** 租户ID */
|
@TableField(fill = FieldFill.INSERT)
|
private Long tenantId;
|
|
/** 部门ID */
|
@TableField(fill = FieldFill.INSERT)
|
private Long deptId;
|
}
|