package com.ruoyi.approve.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Getter;
|
import lombok.Setter;
|
import lombok.ToString;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
/**
|
* <p>
|
* 审批任务表
|
* </p>
|
*
|
* @author 芯导软件(江苏)有限公司
|
* @since 2026-05-18 03:32:37
|
*/
|
@Getter
|
@Setter
|
@ToString
|
@TableName("approval_task")
|
@ApiModel(value = "ApprovalTask对象", description = "审批任务表")
|
public class ApprovalTask implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 审批任务ID
|
*/
|
@Schema(description ="审批任务ID")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 审批实例ID
|
*/
|
@Schema(description ="审批实例ID")
|
private Long instanceId;
|
|
/**
|
* 节点实例ID
|
*/
|
@Schema(description ="节点实例ID")
|
private Long nodeId;
|
|
/**
|
* 审批级别
|
*/
|
@Schema(description ="审批级别")
|
private Integer levelNo;
|
|
/**
|
* 审批人ID
|
*/
|
@Schema(description ="审批人ID")
|
private Long approverId;
|
|
/**
|
* 审批人名称
|
*/
|
@Schema(description ="审批人名称")
|
private String approverName;
|
|
/**
|
* 任务状态
|
*/
|
@Schema(description ="任务状态 PENDING - 待审批 APPROVED - 已同意 REJECTED - 已拒绝")
|
private String taskStatus;
|
|
/**
|
* 审批时间
|
*/
|
@Schema(description ="审批时间")
|
private LocalDateTime approveTime;
|
|
/**
|
* 审批意见
|
*/
|
@Schema(description ="审批意见")
|
private String comment;
|
|
/**
|
* 是否已读
|
*/
|
@Schema(description ="是否已读")
|
private Byte isRead;
|
|
/**
|
* 创建人
|
*/
|
@Schema(description ="创建人")
|
@TableField(fill = FieldFill.INSERT)
|
private Long createUser;
|
|
/**
|
* 创建时间
|
*/
|
@Schema(description ="创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
/**
|
* 更新人
|
*/
|
@Schema(description ="更新人")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Long updateUser;
|
|
/**
|
* 更新时间
|
*/
|
@Schema(description ="更新时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
|
/**
|
* 逻辑删除
|
*/
|
@Schema(description ="逻辑删除")
|
private Byte deleted;
|
|
@Schema(description ="部门ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long deptId;
|
}
|