package com.ruoyi.inspect.pojo;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
/**
|
* 报告退回前的审批状态和文件快照,用于追溯历史批准版本。
|
*/
|
@Data
|
@TableName("ins_report_return_record")
|
@Schema(description = "报告退回记录")
|
public class InsReportReturnRecord implements Serializable {
|
@Schema(description = "主键")
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
@Schema(description = "报告ID")
|
private Integer reportId;
|
|
@Schema(description = "检验单ID")
|
private Integer insOrderId;
|
|
@Schema(description = "退回前节点:APPROVED 已批准,REPORT_REVIEW 报告审核,REPORT_APPROVAL 报告批准")
|
private String fromStage;
|
|
@Schema(description = "目标节点:INSPECTION_TASK 检验任务,REPORT_REVIEW 报告审核")
|
private String targetStage;
|
|
@Schema(description = "退回原因")
|
private String returnReason;
|
|
@Schema(description = "退回前提交状态:0 待提交,1 已提交")
|
private Integer state;
|
|
@Schema(description = "退回前审核状态:0 不通过,1 通过,2 已退回")
|
private Integer isExamine;
|
|
@Schema(description = "退回前审核时间")
|
private LocalDateTime examineTime;
|
|
@Schema(description = "退回前批准状态:0 不批准,1 批准,2 已退回")
|
private Integer isRatify;
|
|
@Schema(description = "退回前批准时间")
|
private LocalDateTime ratifyTime;
|
|
@Schema(description = "退回前检测报告文件地址")
|
private String reportUrl;
|
|
@Schema(description = "退回前检验报告文件地址")
|
private String inspectionUrl;
|
|
@Schema(description = "退回前检测报告临时预览地址")
|
private String tempUrlPdf;
|
|
@Schema(description = "退回前检验报告临时预览地址")
|
private String inspectionTempUrlPdf;
|
|
@Schema(description = "退回操作人用户ID")
|
private Integer operatorId;
|
|
@Schema(description = "退回记录创建时间")
|
private LocalDateTime createTime;
|
}
|