package org.jeecg.modules.weekly.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import org.jeecg.common.aspect.annotation.Dict; import org.jeecg.common.system.base.entity.JeecgEntity; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; import java.util.List; @Data @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) public class ProProject extends JeecgEntity implements Serializable { private static final long serialVersionUID = 1L; /** * ID */ @Excel(name = "项目名称", width = 15) private String xmmc; @Excel(name = "项目编号", width = 15) private String xmbh; @Excel(name = "项目描述", width = 15) private String xmms; @Excel(name = "项目成员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username") @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") private String xmcy; @Excel(name = "项目负责人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username") @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") private String xmfzr; @Excel(name = "报告日期", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date bgrq; @Excel(name = "项目目标", width = 15) private String xmmb; @Excel(name = "开始日期", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date ksrq; @Excel(name = "结束日期", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date jsrq; @Excel(name = "剩余时间", width = 15) private Integer sysj; @Excel(name = "本周工作", width = 15) private String bzgz; @Excel(name = "下周工作", width = 15) private String xzgz; // 项目总时长 开始日期-结束日期 @Excel(name = "项目周期", width = 15) private Integer xmzq; // 项目已用时间 今天 - 开始日期 @Excel(name = "已用时间", width = 15) private Integer yysj; // 项目时间进度 已用时间 / 总时长 @Excel(name = "时间进度", width = 15) private Double sjjd; // 项目任务总数 @Excel(name = "任务总数", width = 15) private Integer rwzs; // 项目任务总数 @Excel(name = "已完成任务", width = 15) private Integer wcrws; // 项目完成进度 @Excel(name = "完成进度", width = 15) private Double wcjd; @Excel(name = "项目负责组", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id") @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id") private String xmfzz; @Excel(name = "项目类型", width = 15, dicCode = "xmlx") @Dict(dicCode = "xmlx") private Integer xmlx; @Excel(name = "项目当前阶段", width = 15, dicCode = "dqjd") @Dict(dicCode = "dqjd") private Integer dqjd; @Excel(name = "项目状态", width = 15, dicCode = "xmzt") @Dict(dicCode = "xmzt") private Integer xmzt; @Excel(name = "项目来源", width = 15, dicCode = "xmly") @Dict(dicCode = "xmly") private Integer xmly; @Excel(name = "项目等级", width = 15) private Integer xmdj; @Excel(name = "重点课题", width = 15, dicCode = "zdkt") @Dict(dicCode = "zdkt") private Integer zdkt; @Excel(name = "重点项目", width = 15, dicCode = "zdxm") @Dict(dicCode = "zdxm") private Integer zdxm; @Excel(name = "结束标志", width = 15) private String jsbz; @Excel(name = "周期计划", width = 15) private String zqjh; @Excel(name = "工时计划", width = 15) private String gsjh; @Excel(name = "里程碑", width = 15, dicCode = "lcb") @Dict(dicCode = "lcb") private Integer lcb; @Excel(name = "里程碑状态", width = 15, dicCode = "lcbzt") @Dict(dicCode = "lcbzt") private Integer lcbzt; @Excel(name = "里程碑优先级", width = 15, dicCode = "lcbyxj") @Dict(dicCode = "lcbyxj") private Integer lcbyxj; @Excel(name = "是否生成报表", width = 15) private Integer report; //0-否 1-是 @Excel(name = "是否生成奖金发放记录", width = 15) private Integer bonus; //0-否 1-是 @Excel(name = "项目背景", width = 15) private String xmbj; private String sysOrgCode; private Integer isNew; //是否新增项目 0-规划项目 1-新增项目 @Excel(name = "产品类别", width = 15, dicCode = "cplb") @Dict(dicCode = "cplb") private Integer cplb; //产品类别 数据字典 @Excel(name = "产品类别", width = 15, dicCode = "cplb") @Dict(dicCode = "cpgg") private Integer cpgg; //产品规格 数据字典 1-已完成 2-未完成 @Excel(name = "风险等级", width = 15, dicCode = "fxdj") @Dict(dicCode = "fxdj") private Integer fxdj; //风险等级 数据字典 1-无风险 2-低风险 3-中风险 4-高风险 @Excel(name = "结束日期", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date sjwcsj; /** * 排序 */ private Integer sortNo; @Excel(name = "项目集", width = 15, dictTable = "pro_project_group", dicText = "group_name", dicCode = "id") @Dict(dictTable = "pro_project_group", dicText = "group_name", dicCode = "id") private String group; }