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; 
 | 
    /** 
 | 
     * 创建者 
 | 
     */ 
 | 
    @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; 
 | 
  
 | 
  
 | 
} 
 |