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 11:20:08
|
*/
|
@Getter
|
@Setter
|
@ToString
|
@TableName("approval_template")
|
@ApiModel(value = "ApprovalTemplate对象", description = "审批模板表")
|
public class ApprovalTemplate 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 templateName;
|
|
/**
|
* 启用状态:1启用,0停用
|
*/
|
@Schema(description ="启用状态:1启用,0停用")
|
private Byte enabled;
|
|
/**
|
* 模板说明
|
*/
|
@Schema(description ="模板说明")
|
private String description;
|
|
/**
|
* 创建人
|
*/
|
@Schema(description ="创建人")
|
@TableField(fill = FieldFill.INSERT)
|
private Long createUser;
|
|
/**
|
* 创建时间
|
*/
|
@Schema(description ="创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime createTime;
|
|
/**
|
* 更新人
|
*/
|
@Schema(description ="更新人")
|
@TableField(fill = FieldFill.UPDATE)
|
private Long updateUser;
|
|
/**
|
* 更新时间
|
*/
|
@Schema(description ="更新时间")
|
@TableField(fill = FieldFill.UPDATE)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime updateTime;
|
|
/**
|
* 逻辑删除:0否,1是
|
*/
|
@Schema(description ="逻辑删除:0否,1是")
|
private Integer deleted;
|
|
@TableField(fill = FieldFill.INSERT)
|
private Long deptId;
|
|
@Schema(description = "表单配置")
|
private String formConfig;
|
|
@Schema(description = "模板类型:0系统内置,1自定义")
|
private Integer templateType;
|
|
@Schema(description = "业务类型")
|
private Long businessType;
|
|
}
|