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 com.ruoyi.framework.aspectj.lang.annotation.Excel; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; /** * OA系统-项目任务协同-项目表 * @TableName oa_project */ @TableName(value ="oa_project") @Data public class OaProject implements Serializable { /** * */ @TableId(type = IdType.AUTO) private Integer projectId; /** * 项目名称 */ @Excel(name = "项目名称") private String projectName; /** * 项目描述 */ @Excel(name = "项目描述") private String description; /** * 开始时间 */ @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 = "状态") private String status; /** * 完成度 */ @Excel(name = "完成度") private Integer completionRate; /** * 负责人id */ private Long managerId; /** * 创建用户 */ @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; }