refactor: 将enum接口挪到common包
This commit is contained in:
parent
b340bff225
commit
01afc4505f
@ -1,4 +1,4 @@
|
||||
package com.agileboot.orm.common.enums.interfaces;
|
||||
package com.agileboot.common.enums;
|
||||
|
||||
/**
|
||||
* @author valarchie
|
||||
@ -1,4 +1,4 @@
|
||||
package com.agileboot.orm.common.enums.interfaces;
|
||||
package com.agileboot.common.enums;
|
||||
|
||||
/**
|
||||
* 字典类型 接口
|
||||
@ -5,7 +5,7 @@ import cn.hutool.core.map.MapUtil;
|
||||
import cn.hutool.core.util.ArrayUtil;
|
||||
import com.agileboot.orm.common.annotations.Dictionary;
|
||||
import com.agileboot.orm.common.enums.*;
|
||||
import com.agileboot.orm.common.enums.interfaces.DictionaryEnum;
|
||||
import com.agileboot.common.enums.DictionaryEnum;
|
||||
import com.agileboot.orm.common.dto.DictionaryData;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package com.agileboot.infrastructure.user.web;
|
||||
|
||||
import com.agileboot.orm.common.enums.interfaces.BasicEnum;
|
||||
import com.agileboot.common.enums.BasicEnum;
|
||||
|
||||
/**
|
||||
* 对应sys_role表的data_scope字段
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package com.agileboot.orm.common.dto;
|
||||
|
||||
import com.agileboot.orm.common.enums.interfaces.DictionaryEnum;
|
||||
import com.agileboot.common.enums.DictionaryEnum;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
|
||||
@ -2,7 +2,7 @@ package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.CssTag;
|
||||
import com.agileboot.orm.common.annotations.Dictionary;
|
||||
import com.agileboot.orm.common.enums.interfaces.DictionaryEnum;
|
||||
import com.agileboot.common.enums.DictionaryEnum;
|
||||
|
||||
/**
|
||||
* 对应sys_operation_log的business_type
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.enums.interfaces.BasicEnum;
|
||||
import com.agileboot.common.enums.BasicEnum;
|
||||
|
||||
/**
|
||||
* 系统配置
|
||||
|
||||
@ -2,7 +2,7 @@ package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.CssTag;
|
||||
import com.agileboot.orm.common.annotations.Dictionary;
|
||||
import com.agileboot.orm.common.enums.interfaces.DictionaryEnum;
|
||||
import com.agileboot.common.enums.DictionaryEnum;
|
||||
|
||||
/**
|
||||
* 对应sys_user的sex字段
|
||||
|
||||
@ -2,7 +2,7 @@ package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.CssTag;
|
||||
import com.agileboot.orm.common.annotations.Dictionary;
|
||||
import com.agileboot.orm.common.enums.interfaces.DictionaryEnum;
|
||||
import com.agileboot.common.enums.DictionaryEnum;
|
||||
|
||||
/**
|
||||
* 用户状态
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.enums.interfaces.BasicEnum;
|
||||
import com.agileboot.common.enums.BasicEnum;
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.enums.interfaces.BasicEnum;
|
||||
import com.agileboot.common.enums.BasicEnum;
|
||||
|
||||
/**
|
||||
* @author valarchie
|
||||
|
||||
@ -2,7 +2,7 @@ package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.CssTag;
|
||||
import com.agileboot.orm.common.annotations.Dictionary;
|
||||
import com.agileboot.orm.common.enums.interfaces.DictionaryEnum;
|
||||
import com.agileboot.common.enums.DictionaryEnum;
|
||||
|
||||
/**
|
||||
* 对应sys_notice的 status字段
|
||||
|
||||
@ -2,7 +2,7 @@ package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.CssTag;
|
||||
import com.agileboot.orm.common.annotations.Dictionary;
|
||||
import com.agileboot.orm.common.enums.interfaces.DictionaryEnum;
|
||||
import com.agileboot.common.enums.DictionaryEnum;
|
||||
|
||||
/**
|
||||
* 对应sys_notice的 notice_type字段
|
||||
|
||||
@ -2,7 +2,7 @@ package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.CssTag;
|
||||
import com.agileboot.orm.common.annotations.Dictionary;
|
||||
import com.agileboot.orm.common.enums.interfaces.DictionaryEnum;
|
||||
import com.agileboot.common.enums.DictionaryEnum;
|
||||
|
||||
/**
|
||||
* 对应sys_operation_log的status字段
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.annotations.Dictionary;
|
||||
import com.agileboot.orm.common.enums.interfaces.BasicEnum;
|
||||
import com.agileboot.common.enums.BasicEnum;
|
||||
|
||||
/**
|
||||
* 操作者类型
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.enums.interfaces.BasicEnum;
|
||||
import com.agileboot.common.enums.BasicEnum;
|
||||
|
||||
/**
|
||||
* Http Method
|
||||
|
||||
@ -2,7 +2,7 @@ package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.CssTag;
|
||||
import com.agileboot.orm.common.annotations.Dictionary;
|
||||
import com.agileboot.orm.common.enums.interfaces.DictionaryEnum;
|
||||
import com.agileboot.common.enums.DictionaryEnum;
|
||||
|
||||
/**
|
||||
* 除非表有特殊指明的话,一般用这个枚举代表 status字段
|
||||
|
||||
@ -2,7 +2,7 @@ package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.CssTag;
|
||||
import com.agileboot.orm.common.annotations.Dictionary;
|
||||
import com.agileboot.orm.common.enums.interfaces.DictionaryEnum;
|
||||
import com.agileboot.common.enums.DictionaryEnum;
|
||||
|
||||
/**
|
||||
* 对应sys_user的status字段
|
||||
|
||||
@ -2,7 +2,7 @@ package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.CssTag;
|
||||
import com.agileboot.orm.common.annotations.Dictionary;
|
||||
import com.agileboot.orm.common.enums.interfaces.DictionaryEnum;
|
||||
import com.agileboot.common.enums.DictionaryEnum;
|
||||
|
||||
/**
|
||||
* 对应sys_menu表的is_visible字段
|
||||
|
||||
@ -2,7 +2,7 @@ package com.agileboot.orm.common.enums;
|
||||
|
||||
import com.agileboot.orm.common.CssTag;
|
||||
import com.agileboot.orm.common.annotations.Dictionary;
|
||||
import com.agileboot.orm.common.enums.interfaces.DictionaryEnum;
|
||||
import com.agileboot.common.enums.DictionaryEnum;
|
||||
|
||||
/**
|
||||
* 系统内代表是与否的枚举
|
||||
|
||||
@ -3,7 +3,7 @@ package com.agileboot.orm.common.enums.util;
|
||||
import cn.hutool.core.convert.Convert;
|
||||
import com.agileboot.common.exception.ApiException;
|
||||
import com.agileboot.common.exception.error.ErrorCode;
|
||||
import com.agileboot.orm.common.enums.interfaces.BasicEnum;
|
||||
import com.agileboot.common.enums.BasicEnum;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user