枚举字段整理

yun-zuoyi
yunhao.wang 7 years ago
parent 68b4778fd3
commit 8dbcbd17be

@ -67,8 +67,8 @@ public class Organize extends BaseBean {
@ApiParam(value ="排序" , example ="1") @ApiParam(value ="排序" , example ="1")
private Integer organizeSort; private Integer organizeSort;
@Column(name="ORGANIZE_STATUS") @Column(name="ORGANIZE_STATUS_ID")
@ApiParam(value ="组织状态枚举1.正常2.禁用)" , example ="1") @ApiParam(value ="组织状态枚举1.正常2.禁用)" , example ="1")
private Integer organizeStatus; private Integer organizeStatusId;
} }

@ -29,7 +29,7 @@ public class SessionUser implements Serializable {
@ApiParam("用户类型") @ApiParam("用户类型")
//CommonEnumUtil.USER_TYPE.xxx.getCode() //CommonEnumUtil.USER_TYPE.xxx.getCode()
private Integer userTypeId; private String userTypeId;
@ApiParam("用户信息") @ApiParam("用户信息")
private SysUser user; private SysUser user;
@ -61,7 +61,7 @@ public class SessionUser implements Serializable {
} }
public SessionUser(String userCode, String userName, String siteCode, String languageCode, Integer userTypeId) { public SessionUser(String userCode, String userName, String siteCode, String languageCode, String userTypeId) {
this.userCode = userCode; this.userCode = userCode;
this.userName = userName; this.userName = userName;
this.languageCode = languageCode; this.languageCode = languageCode;

@ -69,7 +69,7 @@ public class SysRole extends BaseBean {
@ApiParam(value ="权限功能数量" , example ="0" , access ="权限功能数量") @ApiParam(value ="权限功能数量" , example ="0" , access ="权限功能数量")
private Integer redMenuNumber; private Integer redMenuNumber;
@Column(name="ROLE_STATUS") @Column(name="ROLE_STATUS_ID")
@ApiParam(value ="角色状态枚举1.正常2.状态)" , example ="-1") @ApiParam(value ="角色状态枚举1.正常2.状态)" , example ="-1")
private Integer roleStatusId; private Integer roleStatusId;

@ -61,27 +61,27 @@ public class TaskTimeRecording extends BaseBean {
} }
@Column(name="RED_TIME_EXPRESSION") @Column(name="RED_TIME_EXPRESSION")
@ApiParam(value ="时间表达式" , access ="时间表达式") @ApiParam(value ="时间表达式")
private String redTimeExpression; private String redTimeExpression;
@Column(name="TASK_START_DATE_TIME") @Column(name="TASK_START_DATE_TIME")
@ApiParam(value ="任务开始时间" , access ="任务开始时间") @ApiParam(value ="任务开始时间")
private String taskStartDateTime; private String taskStartDateTime;
@Column(name="TASK_END_DATE_TIME") @Column(name="TASK_END_DATE_TIME")
@ApiParam(value ="任务结束时间" , access ="任务结束时间") @ApiParam(value ="任务结束时间")
private String taskEndDateTime; private String taskEndDateTime;
@Column(name="TASK_STATUS") @Column(name="TASK_STATUS_ID")
@ApiParam(value ="任务完成情况" , access ="任务完成情况") @ApiParam(value ="任务完成情况(枚举1正常2失败)")
private String taskStatus; private Integer taskStatusId;
@Column(name="TASK_LOG") @Column(name="TASK_LOG")
@ApiParam(value ="任务日志" , access ="任务日志") @ApiParam(value ="任务日志")
private String taskLog; private String taskLog;
@Column(name="TASK_LOG_ERROR") @Column(name="TASK_LOG_ERROR")
@ApiParam(value ="任务异常日志" , access ="任务异常日志") @ApiParam(value ="任务异常日志")
private String taskLogError; private String taskLogError;
} }

Loading…
Cancel
Save