任务
This commit is contained in:
@ -140,10 +140,10 @@ public class Constants
|
||||
/**
|
||||
* 包工头用户标志 前缀
|
||||
*/
|
||||
public static final String BGT = "bgt_";
|
||||
public static final String BGT = "bgt";
|
||||
|
||||
/**
|
||||
* 务工者用户标志 前缀
|
||||
*/
|
||||
public static final String WGZ = "wgz_";
|
||||
public static final String WGZ = "wgz";
|
||||
}
|
||||
|
@ -0,0 +1,33 @@
|
||||
package com.ruoyi.common.enums;
|
||||
|
||||
/**
|
||||
* 用户状态
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
public enum ProjectTaskStatus
|
||||
{
|
||||
APPLY("0", "申请中"),
|
||||
PROGRESS("1", "进行中"),
|
||||
COMPLETE("2", "已完成"),
|
||||
;
|
||||
|
||||
private final String code;
|
||||
private final String info;
|
||||
|
||||
ProjectTaskStatus(String code, String info)
|
||||
{
|
||||
this.code = code;
|
||||
this.info = info;
|
||||
}
|
||||
|
||||
public String getCode()
|
||||
{
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getInfo()
|
||||
{
|
||||
return info;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user