package com.ruoyi.approve.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Getter;
|
import lombok.Setter;
|
import lombok.ToString;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
/**
|
* <p>
|
* 审批实例表
|
* </p>
|
*
|
* @author 芯导软件(江苏)有限公司
|
* @since 2026-05-18 03:27:46
|
*/
|
@Getter
|
@Setter
|
@ToString
|
@TableName("approval_instance")
|
@ApiModel(value = "ApprovalInstance对象", description = "审批实例表")
|
public class ApprovalInstance implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 审批实例ID
|
*/
|
@Schema(description ="审批实例ID")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 审批编号
|
*/
|
@Schema(description ="审批编号")
|
private String instanceNo;
|
|
/**
|
* 模板ID
|
*/
|
@Schema(description ="模板ID")
|
private Long templateId;
|
|
/**
|
* 模板名称
|
*/
|
@Schema(description ="模板名称")
|
private String templateName;
|
|
/**
|
* 业务ID
|
*/
|
@Schema(description ="业务ID")
|
private Long businessId;
|
|
/**
|
* 业务类型
|
*/
|
@Schema(description ="业务类型")
|
private Long businessType;
|
|
/**
|
* 审批标题
|
*/
|
@Schema(description ="审批标题")
|
private String title;
|
|
/**
|
* 审批状态
|
*/
|
@Schema(description ="审批状态 PENDING - 待审批/进行中 APPROVED - 已通过/已完成 REJECTED - 已驳回")
|
private String status;
|
|
/**
|
* 当前审批级别
|
*/
|
@Schema(description ="当前审批级别")
|
private Integer currentLevel;
|
|
/**
|
* 申请人ID
|
*/
|
@Schema(description ="申请人ID")
|
private Long applicantId;
|
|
/**
|
* 申请人名称
|
*/
|
@Schema(description ="申请人名称")
|
private String applicantName;
|
|
/**
|
* 申请时间
|
*/
|
@Schema(description ="申请时间")
|
private LocalDateTime applyTime;
|
|
/**
|
* 完成时间
|
*/
|
@Schema(description ="完成时间")
|
private LocalDateTime finishTime;
|
|
/**
|
* 创建人
|
*/
|
@Schema(description ="创建人")
|
@TableField(fill = FieldFill.INSERT)
|
private Long createUser;
|
|
/**
|
* 创建时间
|
*/
|
@Schema(description ="创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime createTime;
|
|
/**
|
* 更新人
|
*/
|
@Schema(description ="更新人")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Long updateUser;
|
|
/**
|
* 更新时间
|
*/
|
@Schema(description ="更新时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
|
|
@TableField(fill = FieldFill.INSERT)
|
private Long deptId;
|
/**
|
* 逻辑删除
|
*/
|
@Schema(description ="逻辑删除")
|
private Byte deleted;
|
|
@Schema(description = "表单数据")
|
private String formConfig;
|
}
|