liyong
5 天以前 1c518e10a50050d383e714b581c94dea58ec4d67
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
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;
 
}