添加机构,重写机构和用户关系
This commit is contained in:
@@ -99,6 +99,30 @@ public class BusinessConstants {
|
||||
* 根机构编号默认为01
|
||||
* */
|
||||
public static final String ORGANIZATION_ROOT_NO = "01";
|
||||
/**
|
||||
* 新增用户默认密码
|
||||
* */
|
||||
public static final String USER_DEFAULT_PASSWORD = "123456";
|
||||
/**
|
||||
* 用户是否系统自带
|
||||
* 0、非系统自带,1系统自带
|
||||
* */
|
||||
public static final byte USER_NOT_SYSTEM = 0;
|
||||
public static final byte USER_IS_SYSTEM = 1;
|
||||
/**
|
||||
* 用户是否为管理者
|
||||
* 0、管理者,1员工
|
||||
* */
|
||||
public static final byte USER_IS_MANAGER = 0;
|
||||
public static final byte USER_NOT_MANAGER = 1;
|
||||
/**
|
||||
* 用户状态
|
||||
* 0:正常,1:删除,2封禁
|
||||
* */
|
||||
public static final byte USER_STATUS_NORMAL = 0;
|
||||
public static final byte USER_STATUS_DELETE = 1;
|
||||
public static final byte USER_STATUS_BANNED = 2;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user