package com.yuanchu.mom.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
/**
|
* 检验报告
|
* @TableName ins_report
|
*/
|
@TableName(value ="ins_report")
|
@Data
|
public class InsReport implements Serializable {
|
/**
|
*
|
*/
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 外键:检验单id
|
*/
|
private Integer insOrderId;
|
|
/**
|
* 系统生成报告地址
|
*/
|
private String url;
|
|
/**
|
* 手动上传报告地址
|
*/
|
private String urlS;
|
|
/**
|
* 1:批准 0:未批准
|
*/
|
private Integer isRatify;
|
|
/**
|
* 1:审核 0:未审核
|
*/
|
private Integer isExamine;
|
|
/**
|
* 外键:用户id(批准人)
|
*/
|
private Integer ratifyUserId;
|
|
/**
|
* 外键:用户id(审核人)
|
*/
|
private Integer examineUserId;
|
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
@ApiModelProperty("创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime createTime;
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
|
@ApiModelProperty("修改时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime updateTime;
|
}
|