refactor: 将enum接口挪到common包

This commit is contained in:
valarchie 2023-08-14 17:16:23 +08:00
parent b340bff225
commit 01afc4505f
21 changed files with 21 additions and 21 deletions

View File

@ -1,4 +1,4 @@
package com.agileboot.orm.common.enums.interfaces;
package com.agileboot.common.enums;
/**
* @author valarchie

View File

@ -1,4 +1,4 @@
package com.agileboot.orm.common.enums.interfaces;
package com.agileboot.common.enums;
/**
* 字典类型 接口

View File

@ -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;

View File

@ -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字段

View File

@ -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;
/**

View File

@ -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

View File

@ -1,6 +1,6 @@
package com.agileboot.orm.common.enums;
import com.agileboot.orm.common.enums.interfaces.BasicEnum;
import com.agileboot.common.enums.BasicEnum;
/**
* 系统配置

View File

@ -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字段

View File

@ -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;
/**
* 用户状态

View File

@ -1,6 +1,6 @@
package com.agileboot.orm.common.enums;
import com.agileboot.orm.common.enums.interfaces.BasicEnum;
import com.agileboot.common.enums.BasicEnum;
/**
*

View File

@ -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

View File

@ -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字段

View File

@ -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字段

View File

@ -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字段

View File

@ -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;
/**
* 操作者类型

View File

@ -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

View File

@ -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字段

View File

@ -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字段

View File

@ -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字段

View File

@ -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;
/**
* 系统内代表是与否的枚举

View File

@ -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;