liyong
5 小时以前 1ca5584d7e3200a9af65a099bd26d3593e2ba702
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
package com.ruoyi.collaborativeApproval.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.approve.utils.ListToStringTypeHandler;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
 
@Data
@TableName("duty_plan")
public class DutyPlan{
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 计划标题
     */
    @Excel(name = "计划标题")
    @Schema(description = "计划标题")
    private String title;
    /**
     * 计划描述
     */
    @Excel(name = "计划描述")
    @Schema(description = "计划描述")
    private String description;
 
 
    /**
     * 计划级别
     */
    @Excel(name = "计划级别")
    @Schema(description = "计划级别")
    private String level;
    /**
     * 时间周期
     */
    @Excel(name = "时间周期")
    @Schema(description = "时间周期")
    private String period;
    /**
     * 开始时间
     */
    @Excel(name = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;
    /**
     * 结束时间
     */
    @Excel(name = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
 
    /**
     * 负责人
     */
    @Excel(name = "负责人")
    @Schema(description = "负责人")
    private String assignee;
    /**
     * 状态
     */
    @Excel(name = "状态")
    @Schema(description = "状态")
    private String status;
    /**
     * 优先级
     */
    @Excel(name = "优先级")
    @Schema(description = "优先级")
    private String priority;
    /**
     * 完成度
     */
    @Excel(name = "完成度")
    @Schema(description = "完成度")
    private Integer progress;
    /**
     * 标签
     */
    @Excel(name = "标签")
    @Schema(description = "标签")
    @TableField(value = "tags",typeHandler = ListToStringTypeHandler.class,jdbcType = JdbcType.VARCHAR)
    private List<String> tags;
    /**
     * 创建者
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    /**
     * 修改人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    /**
     * 租户ID
     */
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
 
 
 
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}