package com.ruoyi.oA.pojo; import com.baomidou.mybatisplus.annotation.*; import java.io.Serializable; import java.time.LocalDate; import java.time.LocalDateTime; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; /** * OA系统-项目阶段-任务表 * @TableName oa_project_phase_task */ @TableName(value ="oa_project_phase_task") @Data public class OaProjectPhaseTask implements Serializable { /** * */ @TableId(type = IdType.AUTO) private Integer taskId; /** * 项目阶段任务名称 */ private String taskName; /** * oa_project_phase表id */ private Integer phaseId; /** * 开始时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate startDate; /** * 结束时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate endDate; /** * 目标任务完成日期 */ @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate targetDate; /** * 目标值 */ private Integer targetValue; /** * 当前值 */ private Integer currentValue; /** * 单位 */ private String unit; /** * 状态 */ private String status; /** * 完成度 */ private Integer completionRate; /** * 创建用户 */ @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; }