parent
66ea95e0ab
commit
d2bbf021c7
2 changed files with 155 additions and 77 deletions
@ -1,147 +1,193 @@ |
|||||||
package org.jeecg.modules.demo.functionx.entity; |
package org.jeecg.modules.demo.functionx.entity; |
||||||
|
|
||||||
import java.io.Serializable; |
|
||||||
import java.io.UnsupportedEncodingException; |
|
||||||
import java.util.Date; |
|
||||||
import java.math.BigDecimal; |
|
||||||
import com.baomidou.mybatisplus.annotation.IdType; |
import com.baomidou.mybatisplus.annotation.IdType; |
||||||
import com.baomidou.mybatisplus.annotation.TableId; |
import com.baomidou.mybatisplus.annotation.TableId; |
||||||
import com.baomidou.mybatisplus.annotation.TableName; |
import com.baomidou.mybatisplus.annotation.TableName; |
||||||
import lombok.Data; |
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat; |
import com.fasterxml.jackson.annotation.JsonFormat; |
||||||
import org.springframework.format.annotation.DateTimeFormat; |
|
||||||
import org.jeecgframework.poi.excel.annotation.Excel; |
|
||||||
import org.jeecg.common.aspect.annotation.Dict; |
|
||||||
import io.swagger.annotations.ApiModel; |
import io.swagger.annotations.ApiModel; |
||||||
import io.swagger.annotations.ApiModelProperty; |
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
import lombok.EqualsAndHashCode; |
import lombok.EqualsAndHashCode; |
||||||
import lombok.experimental.Accessors; |
import lombok.experimental.Accessors; |
||||||
|
import org.jeecg.common.aspect.annotation.Dict; |
||||||
|
import org.jeecgframework.poi.excel.annotation.Excel; |
||||||
|
import org.springframework.format.annotation.DateTimeFormat; |
||||||
|
|
||||||
|
import java.io.Serializable; |
||||||
|
|
||||||
/** |
/** |
||||||
* @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("functionx") |
@TableName("functionx") |
||||||
@Accessors(chain = true) |
@Accessors(chain = true) |
||||||
@EqualsAndHashCode(callSuper = false) |
@EqualsAndHashCode(callSuper = false) |
||||||
@ApiModel(value="functionx对象", description="功能管理") |
@ApiModel(value = "functionx对象", description = "功能管理") |
||||||
public class Functionx implements Serializable { |
public class Functionx 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 java.lang.String id; |
private java.lang.String id; |
||||||
/**创建人*/ |
/** |
||||||
|
* 创建人 |
||||||
|
*/ |
||||||
@ApiModelProperty(value = "创建人") |
@ApiModelProperty(value = "创建人") |
||||||
private java.lang.String createBy; |
private java.lang.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 java.util.Date createTime; |
private java.util.Date createTime; |
||||||
/**更新人*/ |
/** |
||||||
|
* 更新人 |
||||||
|
*/ |
||||||
@ApiModelProperty(value = "更新人") |
@ApiModelProperty(value = "更新人") |
||||||
private java.lang.String updateBy; |
private java.lang.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 java.util.Date updateTime; |
private java.util.Date updateTime; |
||||||
/**对应模块id*/ |
/** |
||||||
@Excel(name = "对应模块id", width = 15) |
* 对应模块id |
||||||
|
*/ |
||||||
|
@Excel(name = "对应模块id", width = 15) |
||||||
@ApiModelProperty(value = "对应模块id") |
@ApiModelProperty(value = "对应模块id") |
||||||
@Dict(dictTable = "modulex",dicCode = "id",dicText = "module_name") |
@Dict(dictTable = "modulex", dicCode = "id", dicText = "module_name") |
||||||
private java.lang.String moduleId; |
private java.lang.String moduleId; |
||||||
/**中文名称*/ |
/** |
||||||
@Excel(name = "中文名称", width = 15) |
* 中文名称 |
||||||
|
*/ |
||||||
|
@Excel(name = "中文名称", width = 15) |
||||||
@ApiModelProperty(value = "中文名称") |
@ApiModelProperty(value = "中文名称") |
||||||
private java.lang.String functionName; |
private java.lang.String functionName; |
||||||
/**英文名称*/ |
/** |
||||||
@Excel(name = "英文名称", width = 15) |
* 英文名称 |
||||||
|
*/ |
||||||
|
@Excel(name = "英文名称", width = 15) |
||||||
@ApiModelProperty(value = "英文名称") |
@ApiModelProperty(value = "英文名称") |
||||||
private java.lang.String functionEnName; |
private java.lang.String functionEnName; |
||||||
/**功能编码*/ |
/** |
||||||
@Excel(name = "功能编码", width = 15) |
* 功能编码 |
||||||
|
*/ |
||||||
|
@Excel(name = "功能编码", width = 15) |
||||||
@ApiModelProperty(value = "功能编码") |
@ApiModelProperty(value = "功能编码") |
||||||
private java.lang.String functionCode; |
private java.lang.String functionCode; |
||||||
/**功能 |
/** |
||||||
|
* 功能 |
||||||
* 值:列表0、增加1、删除2、修改3、查看4、导入5、导出6、其它99;默认99 |
* 值:列表0、增加1、删除2、修改3、查看4、导入5、导出6、其它99;默认99 |
||||||
* 类型*/ |
* 类型 |
||||||
@Excel(name = "功能类型", width = 15) |
*/ |
||||||
|
@Excel(name = "功能类型", width = 15) |
||||||
@ApiModelProperty(value = "功能类型") |
@ApiModelProperty(value = "功能类型") |
||||||
@Dict(dicCode = "function_type") |
@Dict(dicCode = "function_type") |
||||||
private java.lang.Integer functionType; |
private java.lang.Integer functionType; |
||||||
/**功能描述*/ |
/** |
||||||
@Excel(name = "功能描述", width = 15) |
* 功能描述 |
||||||
|
*/ |
||||||
|
@Excel(name = "功能描述", width = 15) |
||||||
@ApiModelProperty(value = "功能描述") |
@ApiModelProperty(value = "功能描述") |
||||||
private java.lang.String pmDescribe; |
private java.lang.String pmDescribe; |
||||||
/**分析图*/ |
/** |
||||||
@Excel(name = "分析图", width = 15) |
* 分析图 |
||||||
|
*/ |
||||||
|
@Excel(name = "分析图", width = 15) |
||||||
@ApiModelProperty(value = "分析图") |
@ApiModelProperty(value = "分析图") |
||||||
private java.lang.String diagrams; |
private java.lang.String diagrams; |
||||||
/**用户角色*/ |
/** |
||||||
@Excel(name = "用户角色", width = 15) |
* 用户角色 |
||||||
|
*/ |
||||||
|
@Excel(name = "用户角色", width = 15) |
||||||
@ApiModelProperty(value = "用户角色") |
@ApiModelProperty(value = "用户角色") |
||||||
private java.lang.String userRole; |
private java.lang.String userRole; |
||||||
/**责任人*/ |
/** |
||||||
@Excel(name = "责任人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id") |
* 责任人 |
||||||
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id") |
*/ |
||||||
|
@Excel(name = "责任人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id") |
||||||
|
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id") |
||||||
@ApiModelProperty(value = "责任人") |
@ApiModelProperty(value = "责任人") |
||||||
private java.lang.String managerUsers; |
private java.lang.String managerUsers; |
||||||
/**任务等级*/ |
/** |
||||||
@Excel(name = "任务等级", width = 15) |
* 任务等级 |
||||||
|
*/ |
||||||
|
@Excel(name = "任务等级", width = 15) |
||||||
@ApiModelProperty(value = "任务等级") |
@ApiModelProperty(value = "任务等级") |
||||||
@Dict(dicCode = "work_level") |
@Dict(dicCode = "work_level") |
||||||
private java.lang.Integer workLevel; |
private java.lang.Integer workLevel; |
||||||
/**任务状 |
/** |
||||||
* 值:未发布0、已发布1、开发中2、已完成3、已审核4、DEBUG9;默认0 |
* 任务状 |
||||||
* 态*/ |
* 值:未发布0、已发布1、开发中2、已完成3、已审核(已撤回)4、DEBUG9;默认0 |
||||||
@Excel(name = "任务状态", width = 15) |
* 态 |
||||||
|
*/ |
||||||
|
@Excel(name = "任务状态", width = 15) |
||||||
@ApiModelProperty(value = "任务状态") |
@ApiModelProperty(value = "任务状态") |
||||||
@Dict(dicCode = "work_status") |
@Dict(dicCode = "work_status") |
||||||
private java.lang.Integer workStatus; |
private java.lang.Integer workStatus; |
||||||
/**发布时间*/ |
/** |
||||||
@Excel(name = "发布时间", width = 15, format = "yyyy-MM-dd") |
* 发布时间 |
||||||
@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") |
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||||
@ApiModelProperty(value = "发布时间") |
@ApiModelProperty(value = "发布时间") |
||||||
private java.util.Date publishTime; |
private java.util.Date publishTime; |
||||||
/**开始时间*/ |
/** |
||||||
@Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd") |
* 开始时间 |
||||||
@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") |
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||||
@ApiModelProperty(value = "开始时间") |
@ApiModelProperty(value = "开始时间") |
||||||
private java.util.Date startTime; |
private java.util.Date startTime; |
||||||
/**任务时长*/ |
/** |
||||||
@Excel(name = "任务时长", width = 15) |
* 任务时长 |
||||||
|
*/ |
||||||
|
@Excel(name = "任务时长", width = 15) |
||||||
@ApiModelProperty(value = "任务时长") |
@ApiModelProperty(value = "任务时长") |
||||||
private java.lang.Double duration; |
private java.lang.Double duration; |
||||||
/**提交时间*/ |
/** |
||||||
@Excel(name = "提交时间", width = 15, format = "yyyy-MM-dd") |
* 提交时间 |
||||||
@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") |
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||||
@ApiModelProperty(value = "提交时间") |
@ApiModelProperty(value = "提交时间") |
||||||
private java.util.Date submitTime; |
private java.util.Date submitTime; |
||||||
/**实际时长*/ |
/** |
||||||
@Excel(name = "实际时长", width = 15) |
* 实际时长 |
||||||
|
*/ |
||||||
|
@Excel(name = "实际时长", width = 15) |
||||||
@ApiModelProperty(value = "实际时长") |
@ApiModelProperty(value = "实际时长") |
||||||
private java.lang.Double realDuration; |
private java.lang.Double realDuration; |
||||||
/**功能状态*/ |
/** |
||||||
@Excel(name = "功能状态", width = 15) |
* 功能状态 |
||||||
|
*/ |
||||||
|
@Excel(name = "功能状态", width = 15) |
||||||
@ApiModelProperty(value = "功能状态") |
@ApiModelProperty(value = "功能状态") |
||||||
@Dict(dicCode = "status") |
@Dict(dicCode = "status") |
||||||
private java.lang.Integer status; |
private java.lang.Integer status; |
||||||
/**版本状态*/ |
/** |
||||||
@Excel(name = "版本状态", width = 15) |
* 版本状态 |
||||||
|
*/ |
||||||
|
@Excel(name = "版本状态", width = 15) |
||||||
@ApiModelProperty(value = "版本状态") |
@ApiModelProperty(value = "版本状态") |
||||||
@Dict(dicCode = "verison_status") |
@Dict(dicCode = "verison_status") |
||||||
private java.lang.Integer verisonStatus; |
private java.lang.Integer verisonStatus; |
||||||
/**版本号*/ |
/** |
||||||
@Excel(name = "版本号", width = 15) |
* 版本号 |
||||||
|
*/ |
||||||
|
@Excel(name = "版本号", width = 15) |
||||||
@ApiModelProperty(value = "版本号") |
@ApiModelProperty(value = "版本号") |
||||||
private java.lang.Integer verison; |
private java.lang.Integer verison; |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue