package org.jeecg.modules.weekly.entity; import com.baomidou.mybatisplus.annotation.FieldStrategy; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; 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.util.Date; /** * 项目环节 */ @Data public class ProProjectLink extends JeecgEntity { @Excel(name = "序号", width = 15) private Integer xh; @Excel(name = "项目环节", width = 15) private String xmhj; @Excel(name = "起始时间", width = 15) @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date qssj; @Excel(name = "预计完成时间", width = 15) @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date yjwcsj; @Excel(name = "持续时间", width = 15) @TableField(updateStrategy = FieldStrategy.IGNORED) private Integer cxsj; @Excel(name = "实际完成时间", width = 15) @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") @TableField(updateStrategy = FieldStrategy.IGNORED) private Date sjwcsj; @Excel(name = "完成进度", width = 15) private Integer wcjd; @Dict(dictTable ="sys_user",dicText = "realname",dicCode = "username") @Excel(name = "资源名称", width = 15) private String zymc; private String pid; //父项id private String pro;//项目id private Integer level;// private Integer level1;// private Integer level2;// private Integer level3;// private Integer level4;// private Integer level5;// private Integer level6;// @TableField(exist = false) private String sxh; //原始序号,用于数据分类 private Double sortNo; //排序 @TableField(value="is_leaf") private boolean leaf; //是否子节点 private Integer jd; //进度 }