value
2024-04-02 4c563cb7274be53e15f8ce5537ef6e57e15b6458
inspect-server/src/main/java/com/yuanchu/mom/pojo/InsReport.java
@@ -7,6 +7,8 @@
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yuanchu.mom.annotation.ValueTableShow;
import com.yuanchu.mom.common.OrderBy;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -16,12 +18,16 @@
 */
@TableName(value ="ins_report")
@Data
public class InsReport implements Serializable {
public class InsReport extends OrderBy implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ValueTableShow(value = 1, name = "报告编号")
    @ApiModelProperty("报告编号")
    private String code;
    /**
     * 外键:检验单id
@@ -41,12 +47,20 @@
    /**
     * 1:批准 0:未批准
     */
    @ValueTableShow(value = 9, name = "批准状态")
    private Integer isRatify;
    @ValueTableShow(value = 10, name = "批准备注")
    private String ratifyTell;
    /**
     * 1:审核 0:未审核
     */
    @ValueTableShow(value = 6, name = "审核状态")
    private Integer isExamine;
    @ValueTableShow(value = 7, name = "审核备注")
    private String examineTell;
    /**
     * 外键:用户id(批准人)
@@ -69,6 +83,7 @@
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
    @ValueTableShow(value = 4, name = "编制时间")
    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")