|
|
@ -21,35 +21,45 @@ import java.util.Date; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* @Description: 模块管理 |
|
|
|
* @Description: 模块管理 |
|
|
|
* @Author: jeecg-boot |
|
|
|
* @Author: jeecg-boot |
|
|
|
* @Date: 2023-04-10 |
|
|
|
* @Date: 2023-04-10 |
|
|
|
* @Version: V1.0 |
|
|
|
* @Version: V1.0 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Data |
|
|
|
@Data |
|
|
|
@TableName("modulex") |
|
|
|
@TableName("modulex") |
|
|
|
@Accessors(chain = true) |
|
|
|
@Accessors(chain = true) |
|
|
|
@EqualsAndHashCode(callSuper = false) |
|
|
|
@EqualsAndHashCode(callSuper = false) |
|
|
|
@ApiModel(value="modulex对象", description="模块管理") |
|
|
|
@ApiModel(value = "modulex对象", description = "模块管理") |
|
|
|
public class Modulex implements Serializable { |
|
|
|
public class Modulex implements Serializable { |
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
|
|
|
|
|
|
|
|
/**主键*/ |
|
|
|
/** |
|
|
|
@TableId(type = IdType.ASSIGN_ID) |
|
|
|
* 主键 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@TableId(type = IdType.ASSIGN_ID) |
|
|
|
@ApiModelProperty(value = "主键") |
|
|
|
@ApiModelProperty(value = "主键") |
|
|
|
private String id; |
|
|
|
private String id; |
|
|
|
/**创建人*/ |
|
|
|
/** |
|
|
|
|
|
|
|
* 创建人 |
|
|
|
|
|
|
|
*/ |
|
|
|
@ApiModelProperty(value = "创建人") |
|
|
|
@ApiModelProperty(value = "创建人") |
|
|
|
private String createBy; |
|
|
|
private String createBy; |
|
|
|
/**创建日期*/ |
|
|
|
/** |
|
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
* 创建日期 |
|
|
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
|
|
|
*/ |
|
|
|
|
|
|
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
@ApiModelProperty(value = "创建日期") |
|
|
|
@ApiModelProperty(value = "创建日期") |
|
|
|
private Date createTime; |
|
|
|
private Date createTime; |
|
|
|
/**更新人*/ |
|
|
|
/** |
|
|
|
|
|
|
|
* 更新人 |
|
|
|
|
|
|
|
*/ |
|
|
|
@ApiModelProperty(value = "更新人") |
|
|
|
@ApiModelProperty(value = "更新人") |
|
|
|
private String updateBy; |
|
|
|
private String updateBy; |
|
|
|
/**更新日期*/ |
|
|
|
/** |
|
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
* 更新日期 |
|
|
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
|
|
|
*/ |
|
|
|
|
|
|
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
@ApiModelProperty(value = "更新日期") |
|
|
|
@ApiModelProperty(value = "更新日期") |
|
|
|
private Date updateTime; |
|
|
|
private Date updateTime; |
|
|
|
/** |
|
|
|
/** |
|
|
@ -57,36 +67,42 @@ public class Modulex implements Serializable { |
|
|
|
* 关联表字段 modulex.id |
|
|
|
* 关联表字段 modulex.id |
|
|
|
* 显示:上级名称 |
|
|
|
* 显示:上级名称 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Excel(name = "上级模块id", width = 15) |
|
|
|
@Excel(name = "上级模块id", width = 15) |
|
|
|
@ApiModelProperty(value = "上级模块id") |
|
|
|
@ApiModelProperty(value = "上级模块id") |
|
|
|
@Dict(dictTable = "modulex",dicText = "module_name",dicCode = "id") |
|
|
|
@Dict(dictTable = "modulex", dicText = "module_name", dicCode = "id") |
|
|
|
private String pid; |
|
|
|
private String pid; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 项目id |
|
|
|
* 项目id |
|
|
|
* 关联表字段 modulex.id |
|
|
|
* 关联表字段 modulex.id |
|
|
|
* 显示:项目名称 |
|
|
|
* 显示:项目名称 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Excel(name = "项目id", width = 15) |
|
|
|
@Excel(name = "项目id", width = 15) |
|
|
|
@ApiModelProperty(value = "项目id") |
|
|
|
@ApiModelProperty(value = "项目id") |
|
|
|
@Dict(dictTable = "projectx",dicText = "project_name",dicCode = "id") |
|
|
|
@Dict(dictTable = "projectx", dicText = "project_name", dicCode = "id") |
|
|
|
private String projectId; |
|
|
|
private String projectId; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 中文名称 |
|
|
|
* 中文名称 |
|
|
|
* 相同上级的模块不能重名 |
|
|
|
* 相同上级的模块不能重名 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Excel(name = "中文名称", width = 15) |
|
|
|
@Excel(name = "中文名称", width = 15) |
|
|
|
@ApiModelProperty(value = "中文名称") |
|
|
|
@ApiModelProperty(value = "中文名称") |
|
|
|
private String moduleName; |
|
|
|
private String moduleName; |
|
|
|
/**英文名称*/ |
|
|
|
/** |
|
|
|
@Excel(name = "英文名称", width = 15) |
|
|
|
* 英文名称 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@Excel(name = "英文名称", width = 15) |
|
|
|
@ApiModelProperty(value = "英文名称") |
|
|
|
@ApiModelProperty(value = "英文名称") |
|
|
|
private String moduleEnName; |
|
|
|
private String moduleEnName; |
|
|
|
/**模块编码*/ |
|
|
|
/** |
|
|
|
@Excel(name = "模块编码", width = 15) |
|
|
|
* 模块编码 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@Excel(name = "模块编码", width = 15) |
|
|
|
@ApiModelProperty(value = "模块编码") |
|
|
|
@ApiModelProperty(value = "模块编码") |
|
|
|
private String moduleCode; |
|
|
|
private String moduleCode; |
|
|
|
/**内容描述*/ |
|
|
|
/** |
|
|
|
@Excel(name = "内容描述", width = 15) |
|
|
|
* 内容描述 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@Excel(name = "内容描述", width = 15) |
|
|
|
@ApiModelProperty(value = "内容描述") |
|
|
|
@ApiModelProperty(value = "内容描述") |
|
|
|
private String pmDescribe; |
|
|
|
private String pmDescribe; |
|
|
|
/** |
|
|
|
/** |
|
|
@ -94,7 +110,7 @@ public class Modulex implements Serializable { |
|
|
|
* 关联表字段 用户表.id(s) |
|
|
|
* 关联表字段 用户表.id(s) |
|
|
|
* 用户id列表;模块的开发任务可以分配给多个人员;显示:用户名称(列表) |
|
|
|
* 用户id列表;模块的开发任务可以分配给多个人员;显示:用户名称(列表) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Excel(name = "责任人", width = 15) |
|
|
|
@Excel(name = "责任人", width = 15) |
|
|
|
@ApiModelProperty(value = "责任人") |
|
|
|
@ApiModelProperty(value = "责任人") |
|
|
|
private String managerUsers; |
|
|
|
private String managerUsers; |
|
|
|
|
|
|
|
|
|
|
@ -102,51 +118,62 @@ public class Modulex implements Serializable { |
|
|
|
* 上面的字段 本身的数据字典无法翻译 也不能直接把原来的字段替换掉 |
|
|
|
* 上面的字段 本身的数据字典无法翻译 也不能直接把原来的字段替换掉 |
|
|
|
* 故 用这个字段代表 翻译后的值 不改变原先的 |
|
|
|
* 故 用这个字段代表 翻译后的值 不改变原先的 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@TableField(exist = false) |
|
|
|
@TableField(exist = false) |
|
|
|
private String managerUsers_dictText; |
|
|
|
private String managerUsers_dictText; |
|
|
|
/** |
|
|
|
|
|
|
|
|
|
|
|
@TableField(exist = false) |
|
|
|
|
|
|
|
private String copyId; |
|
|
|
|
|
|
|
/** |
|
|
|
* 任务等级 |
|
|
|
* 任务等级 |
|
|
|
* 值:1、2、3、4、5,默认2 |
|
|
|
* 值:1、2、3、4、5,默认2 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Excel(name = "任务等级", width = 15) |
|
|
|
@Excel(name = "任务等级", width = 15) |
|
|
|
@ApiModelProperty(value = "任务等级") |
|
|
|
@ApiModelProperty(value = "任务等级") |
|
|
|
@Dict(dicCode = "work_level") |
|
|
|
@Dict(dicCode = "work_level") |
|
|
|
private Integer workLevel; |
|
|
|
private Integer workLevel; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 任务状态 |
|
|
|
* 任务状态 |
|
|
|
* 值:未发布0、已发布1、开发中2、已完成3、已审核4、DEBUG 9;默认 0 |
|
|
|
* 值:未发布0、已发布1、开发中2、已完成3、已审核4、DEBUG 9;默认 0 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Excel(name = "任务状态", width = 15) |
|
|
|
@Excel(name = "任务状态", width = 15) |
|
|
|
@ApiModelProperty(value = "任务状态") |
|
|
|
@ApiModelProperty(value = "任务状态") |
|
|
|
@Dict(dicCode = "work_status") |
|
|
|
@Dict(dicCode = "work_status") |
|
|
|
private Integer workStatus; |
|
|
|
private Integer workStatus; |
|
|
|
/**发布时间*/ |
|
|
|
/** |
|
|
|
@Excel(name = "发布时间", width = 15, format = "yyyy-MM-dd HH:mm:ss") |
|
|
|
* 发布时间 |
|
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
*/ |
|
|
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
|
|
|
@Excel(name = "发布时间", width = 15, format = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
|
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
@ApiModelProperty(value = "发布时间") |
|
|
|
@ApiModelProperty(value = "发布时间") |
|
|
|
private Date publishTime; |
|
|
|
private Date publishTime; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 任务时长 |
|
|
|
* 任务时长 |
|
|
|
* 单位小时;等于下级模块时长的和;默认1(小时) |
|
|
|
* 单位小时;等于下级模块时长的和;默认1(小时) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Excel(name = "任务时长", width = 15) |
|
|
|
@Excel(name = "任务时长", width = 15) |
|
|
|
@ApiModelProperty(value = "任务时长") |
|
|
|
@ApiModelProperty(value = "任务时长") |
|
|
|
private Double duration; |
|
|
|
private Double duration; |
|
|
|
/**开始时间*/ |
|
|
|
/** |
|
|
|
@Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd HH:mm:ss") |
|
|
|
* 开始时间 |
|
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
*/ |
|
|
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
|
|
|
@Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
|
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
@ApiModelProperty(value = "开始时间") |
|
|
|
@ApiModelProperty(value = "开始时间") |
|
|
|
private Date startTime; |
|
|
|
private Date startTime; |
|
|
|
/**提交时间*/ |
|
|
|
/** |
|
|
|
@Excel(name = "提交时间", width = 15, format = "yyyy-MM-dd HH:mm:ss") |
|
|
|
* 提交时间 |
|
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
*/ |
|
|
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
|
|
|
@Excel(name = "提交时间", width = 15, format = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
|
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
@ApiModelProperty(value = "提交时间") |
|
|
|
@ApiModelProperty(value = "提交时间") |
|
|
|
private Date submitTime; |
|
|
|
private Date submitTime; |
|
|
|
/**实际时长*/ |
|
|
|
/** |
|
|
|
@Excel(name = "实际时长", width = 15) |
|
|
|
* 实际时长 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@Excel(name = "实际时长", width = 15) |
|
|
|
@ApiModelProperty(value = "实际时长") |
|
|
|
@ApiModelProperty(value = "实际时长") |
|
|
|
private Double realDuration; |
|
|
|
private Double realDuration; |
|
|
|
/** |
|
|
|
/** |
|
|
@ -154,7 +181,7 @@ public class Modulex implements Serializable { |
|
|
|
* 关联表字段 project_user_role.id(s) |
|
|
|
* 关联表字段 project_user_role.id(s) |
|
|
|
* 规则 角色列表;哪些用户可以使用该模块,即未来系统的权限分配;显示角色名(列表) |
|
|
|
* 规则 角色列表;哪些用户可以使用该模块,即未来系统的权限分配;显示角色名(列表) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Excel(name = "用户角色", width = 15) |
|
|
|
@Excel(name = "用户角色", width = 15) |
|
|
|
@ApiModelProperty(value = "用户角色") |
|
|
|
@ApiModelProperty(value = "用户角色") |
|
|
|
private String userRole; |
|
|
|
private String userRole; |
|
|
|
/** |
|
|
|
/** |
|
|
@ -162,39 +189,43 @@ public class Modulex implements Serializable { |
|
|
|
* 关联表字段 tablex.id |
|
|
|
* 关联表字段 tablex.id |
|
|
|
* 规则 关联实体表;关联的是该模块管理的实体;最下级(子)模块有;显示表名 |
|
|
|
* 规则 关联实体表;关联的是该模块管理的实体;最下级(子)模块有;显示表名 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Excel(name = "关联实体", width = 15) |
|
|
|
@Excel(name = "关联实体", width = 15) |
|
|
|
@ApiModelProperty(value = "关联实体") |
|
|
|
@ApiModelProperty(value = "关联实体") |
|
|
|
@Dict(dictTable = "tablex",dicText = "table_name",dicCode = "id") |
|
|
|
@Dict(dictTable = "tablex", dicText = "table_name", dicCode = "id") |
|
|
|
private String relatedBean; |
|
|
|
private String relatedBean; |
|
|
|
/**原型图*/ |
|
|
|
/** |
|
|
|
@Excel(name = "原型图", width = 15) |
|
|
|
* 原型图 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@Excel(name = "原型图", width = 15) |
|
|
|
@ApiModelProperty(value = "原型图") |
|
|
|
@ApiModelProperty(value = "原型图") |
|
|
|
private String prototypes; |
|
|
|
private String prototypes; |
|
|
|
/**分析图*/ |
|
|
|
/** |
|
|
|
@Excel(name = "分析图", width = 15) |
|
|
|
* 分析图 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@Excel(name = "分析图", width = 15) |
|
|
|
@ApiModelProperty(value = "分析图") |
|
|
|
@ApiModelProperty(value = "分析图") |
|
|
|
private String diagrams; |
|
|
|
private String diagrams; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 模块状态 |
|
|
|
* 模块状态 |
|
|
|
* 值:正常1、停用0、废弃9;默认1 |
|
|
|
* 值:正常1、停用0、废弃9;默认1 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Excel(name = "模块状态", width = 15) |
|
|
|
@Excel(name = "模块状态", width = 15) |
|
|
|
@ApiModelProperty(value = "模块状态") |
|
|
|
@ApiModelProperty(value = "模块状态") |
|
|
|
@Dict(dicCode = "a_status") |
|
|
|
@Dict(dicCode = "a_status") |
|
|
|
private Integer status; |
|
|
|
private Integer status; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 版本状态 |
|
|
|
* 版本状态 |
|
|
|
* "值:当前1、历史0;默认1" |
|
|
|
* "值:当前1、历史0;默认1" |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Excel(name = "版本状态", width = 15) |
|
|
|
@Excel(name = "版本状态", width = 15) |
|
|
|
@ApiModelProperty(value = "版本状态") |
|
|
|
@ApiModelProperty(value = "版本状态") |
|
|
|
@Dict(dicCode = "verison_status") |
|
|
|
@Dict(dicCode = "verison_status") |
|
|
|
private Integer verisonStatus; |
|
|
|
private Integer verisonStatus; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 版本号 |
|
|
|
* 版本号 |
|
|
|
* 顺序累加;初始值1 |
|
|
|
* 顺序累加;初始值1 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Excel(name = "版本号", width = 15) |
|
|
|
@Excel(name = "版本号", width = 15) |
|
|
|
@ApiModelProperty(value = "版本号") |
|
|
|
@ApiModelProperty(value = "版本号") |
|
|
|
private Integer verison; |
|
|
|
private Integer verison; |
|
|
|
|
|
|
|
|
|
|
|