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; /** 浏览器端 DOCX 审核编辑会话;documentKey 保存文件内容 SHA-256。 */ @Data @TableName("ins_report_edit_session") @Schema(description = "报告审核在线编辑会话") public class InsReportEditSession implements Serializable { @Schema(description = "会话ID") @TableId(type = IdType.AUTO) private Long id; @Schema(description = "编辑会话令牌") private String token; @Schema(description = "报告ID") private Integer reportId; @Schema(description = "报告类型:0检测报告,1检验报告") private Integer reportType; @Schema(description = "DOCX文件内容的SHA-256版本") private String documentKey; @Schema(description = "审核人ID") private Integer userId; @Schema(description = "会话状态") private String status; @Schema(description = "保存请求ID") private String saveRequestId; @Schema(description = "保存结果说明") private String message; @Schema(description = "会话过期时间") private LocalDateTime expiresAt; @Schema(description = "最近保存完成时间") private LocalDateTime savedAt; @Schema(description = "创建时间") private LocalDateTime createTime; @Schema(description = "更新时间") private LocalDateTime updateTime; }