yaowanxin
14 小时以前 a6249b972f4b929e070ace0517da5b44f5d96be2
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
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.annotations.ApiModelProperty;
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 = "计划标题")
    @ApiModelProperty("计划标题")
    private String title;
    /**
     * 计划描述
     */
    @Excel(name = "计划描述")
    @ApiModelProperty("计划描述")
    private String description;
 
 
    /**
     * 计划级别
     */
    @Excel(name = "计划级别")
    @ApiModelProperty("计划级别")
    private String level;
    /**
     * 时间周期
     */
    @Excel(name = "时间周期")
    @ApiModelProperty("时间周期")
    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 = "负责人")
    @ApiModelProperty("负责人")
    private String assignee;
    /**
     * 状态
     */
    @Excel(name = "状态")
    @ApiModelProperty("状态")
    private String status;
    /**
     * 优先级
     */
    @Excel(name = "优先级")
    @ApiModelProperty("优先级")
    private String priority;
    /**
     * 完成度
     */
    @Excel(name = "完成度")
    @ApiModelProperty("完成度")
    private Integer progress;
    /**
     * 标签
     */
    @Excel(name = "标签")
    @ApiModelProperty("标签")
    @TableField(value = "tags",typeHandler = ListToStringTypeHandler.class,jdbcType = JdbcType.VARCHAR)
    private List<String> tags;
    /**
     * 租户ID
     */
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
 
 
}