upgrade: 1、升级autotable、mybatisflex 到最新版本 2、移除自动生成的实体代码
This commit is contained in:
4
pom.xml
4
pom.xml
@@ -18,8 +18,8 @@
|
||||
<properties>
|
||||
<java.version>17</java.version>
|
||||
<lombok.version>1.18.34</lombok.version>
|
||||
<mybatis-flex.version>1.10.9</mybatis-flex.version>
|
||||
<mybatis-flex.ext.version>1.10.9.125</mybatis-flex.ext.version>
|
||||
<mybatis-flex.version>1.11.0</mybatis-flex.version>
|
||||
<mybatis-flex.ext.version>1.11.0.146</mybatis-flex.ext.version>
|
||||
<hutool.version>5.8.26</hutool.version>
|
||||
<ognl.version>3.3.2</ognl.version>
|
||||
<fastjson2.version>2.0.51</fastjson2.version>
|
||||
|
||||
80
src/main/java/com/cool/core/annotation/ColumnDefine.java
Normal file
80
src/main/java/com/cool/core/annotation/ColumnDefine.java
Normal file
@@ -0,0 +1,80 @@
|
||||
package com.cool.core.annotation;
|
||||
|
||||
import org.dromara.autotable.annotation.ColumnComment;
|
||||
import org.dromara.autotable.annotation.ColumnDefault;
|
||||
import org.dromara.autotable.annotation.ColumnNotNull;
|
||||
import org.dromara.autotable.annotation.ColumnType;
|
||||
import org.dromara.autotable.annotation.enums.DefaultValueEnum;
|
||||
import org.springframework.core.annotation.AliasFor;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@ColumnType
|
||||
@ColumnNotNull
|
||||
@ColumnDefault
|
||||
@ColumnComment("")
|
||||
public @interface ColumnDefine {
|
||||
|
||||
/**
|
||||
* 字段类型:不填默认使用属性的数据类型进行转换,转换失败的字段不会添加
|
||||
*
|
||||
* @return 字段类型
|
||||
*/
|
||||
@AliasFor(annotation = ColumnType.class, attribute = "value")
|
||||
String type() default "";
|
||||
|
||||
/**
|
||||
* 字段长度,默认是-1,小于0相当于null
|
||||
*
|
||||
* @return 默认字段长度
|
||||
*/
|
||||
@AliasFor(annotation = ColumnType.class, attribute = "length")
|
||||
int length() default -1;
|
||||
|
||||
/**
|
||||
* 小数点长度,默认是-1,小于0相当于null
|
||||
*
|
||||
* @return 小数点长度
|
||||
*/
|
||||
@AliasFor(annotation = ColumnType.class, attribute = "decimalLength")
|
||||
int decimalLength() default -1;
|
||||
|
||||
/**
|
||||
* 是否为可以为null,true是可以,false是不可以,默认为true
|
||||
*
|
||||
* @return 是否为可以为null,true是不可以,false是可以,默认为false
|
||||
*/
|
||||
@AliasFor(annotation = ColumnNotNull.class, attribute = "value")
|
||||
boolean notNull() default false;
|
||||
|
||||
/**
|
||||
* 默认值,默认为null
|
||||
*
|
||||
* @return 默认值
|
||||
*/
|
||||
@AliasFor(annotation = ColumnDefault.class, attribute = "type")
|
||||
DefaultValueEnum defaultValueType() default DefaultValueEnum.UNDEFINED;
|
||||
|
||||
/**
|
||||
* 默认值,默认为null
|
||||
*
|
||||
* @return 默认值
|
||||
*/
|
||||
@AliasFor(annotation = ColumnDefault.class, attribute = "value")
|
||||
String defaultValue() default "";
|
||||
|
||||
/**
|
||||
* 数据表字段备注
|
||||
*
|
||||
* @return 默认值,默认为空
|
||||
*/
|
||||
@AliasFor(annotation = ColumnComment.class, attribute = "value")
|
||||
String comment() default "";
|
||||
}
|
||||
@@ -6,7 +6,7 @@ import com.mybatisflex.annotation.Id;
|
||||
import com.mybatisflex.annotation.KeyType;
|
||||
import com.mybatisflex.core.activerecord.Model;
|
||||
import com.mybatisflex.core.query.QueryWrapper;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.Getter;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.cool.core.base;
|
||||
|
||||
import com.mybatisflex.core.activerecord.Model;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.dromara.autotable.annotation.Index;
|
||||
|
||||
@@ -14,7 +14,7 @@ import com.cool.core.annotation.EpsField;
|
||||
import com.cool.core.annotation.TokenIgnore;
|
||||
import com.cool.core.config.CustomOpenApiResource;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.cool.core.leaf.segment.entity;
|
||||
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.UniIndex;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.cool.modules.base.entity.sys;
|
||||
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.dromara.autotable.annotation.Index;
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.cool.modules.base.entity.sys;
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Column;
|
||||
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -4,7 +4,7 @@ import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.cool.core.mybatis.handler.Fastjson2TypeHandler;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.dromara.autotable.annotation.Index;
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.cool.modules.base.entity.sys;
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import java.util.List;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.cool.modules.base.entity.sys;
|
||||
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.dromara.autotable.annotation.Index;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.cool.modules.base.entity.sys;
|
||||
|
||||
import com.cool.core.base.BaseEntity;
|
||||
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -4,7 +4,7 @@ import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.cool.core.mybatis.handler.Fastjson2TypeHandler;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import java.util.List;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.cool.modules.base.entity.sys;
|
||||
|
||||
import com.cool.core.base.BaseEntity;
|
||||
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.cool.modules.base.entity.sys;
|
||||
import com.cool.core.base.TenantEntity;
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.cool.modules.base.entity.sys;
|
||||
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.dromara.autotable.annotation.Index;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.cool.modules.dict.entity;
|
||||
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.cool.modules.dict.entity;
|
||||
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.UniIndex;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.cool.core.mybatis.handler.Fastjson2TypeHandler;
|
||||
import com.cool.core.mybatis.handler.JacksonTypeHandler;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.UniIndex;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -4,7 +4,7 @@ import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.cool.core.mybatis.handler.Fastjson2TypeHandler;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import lombok.Getter;
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.cool.modules.space.entity;
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.dromara.autotable.annotation.Ignore;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.cool.modules.space.entity;
|
||||
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.cool.modules.task.entity;
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import java.util.Date;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.cool.modules.task.entity;
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.dromara.autotable.annotation.Index;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.cool.modules.user.entity;
|
||||
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.dromara.autotable.annotation.Index;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.cool.modules.user.entity;
|
||||
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.UniIndex;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.cool.modules.user.entity;
|
||||
|
||||
import com.cool.core.base.BaseEntity;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
|
||||
import com.cool.core.annotation.ColumnDefine;
|
||||
import com.tangzc.mybatisflex.autotable.annotation.UniIndex;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@@ -38,14 +38,14 @@ spring:
|
||||
file: assets/cache
|
||||
|
||||
#redis 缓存
|
||||
# cache:
|
||||
# type: redis
|
||||
# data:
|
||||
# redis:
|
||||
# host: 127.0.0.1
|
||||
# port: 6379
|
||||
# database: 0
|
||||
# password:
|
||||
# cache:
|
||||
# type: redis
|
||||
# data:
|
||||
# redis:
|
||||
# host: 127.0.0.1
|
||||
# port: 6379
|
||||
# database: 0
|
||||
# password:
|
||||
quartz:
|
||||
job-store-type: jdbc
|
||||
jdbc:
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
package com.cool.core.leaf.segment.entity.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class LeafAllocEntityTableDef extends TableDef {
|
||||
|
||||
public static final LeafAllocEntityTableDef LEAF_ALLOC_ENTITY = new LeafAllocEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn KEY = new QueryColumn(this, "key");
|
||||
|
||||
public final QueryColumn STEP = new QueryColumn(this, "step");
|
||||
|
||||
public final QueryColumn MAX_ID = new QueryColumn(this, "max_id");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
public final QueryColumn DESCRIPTION = new QueryColumn(this, "description");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, KEY, STEP, MAX_ID, CREATE_TIME, UPDATE_TIME, DESCRIPTION};
|
||||
|
||||
public LeafAllocEntityTableDef() {
|
||||
super("", "leaf_alloc");
|
||||
}
|
||||
|
||||
private LeafAllocEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public LeafAllocEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new LeafAllocEntityTableDef("", "leaf_alloc", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
package com.cool.modules.base.entity.sys.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class BaseSysConfEntityTableDef extends TableDef {
|
||||
|
||||
/**
|
||||
* 系统配置
|
||||
*/
|
||||
public static final BaseSysConfEntityTableDef BASE_SYS_CONF_ENTITY = new BaseSysConfEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn C_KEY = new QueryColumn(this, "c_key");
|
||||
|
||||
public final QueryColumn C_VALUE = new QueryColumn(this, "c_value");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, C_KEY, C_VALUE, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public BaseSysConfEntityTableDef() {
|
||||
super("", "base_sys_conf");
|
||||
}
|
||||
|
||||
private BaseSysConfEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public BaseSysConfEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new BaseSysConfEntityTableDef("", "base_sys_conf", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
package com.cool.modules.base.entity.sys.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class BaseSysDepartmentEntityTableDef extends TableDef {
|
||||
|
||||
/**
|
||||
* 系统部门
|
||||
*/
|
||||
public static final BaseSysDepartmentEntityTableDef BASE_SYS_DEPARTMENT_ENTITY = new BaseSysDepartmentEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn NAME = new QueryColumn(this, "name");
|
||||
|
||||
public final QueryColumn ORDER_NUM = new QueryColumn(this, "order_num");
|
||||
|
||||
public final QueryColumn PARENT_ID = new QueryColumn(this, "parent_id");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, NAME, ORDER_NUM, PARENT_ID, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public BaseSysDepartmentEntityTableDef() {
|
||||
super("", "base_sys_department");
|
||||
}
|
||||
|
||||
private BaseSysDepartmentEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public BaseSysDepartmentEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new BaseSysDepartmentEntityTableDef("", "base_sys_department", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
package com.cool.modules.base.entity.sys.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class BaseSysLogEntityTableDef extends TableDef {
|
||||
|
||||
public static final BaseSysLogEntityTableDef BASE_SYS_LOG_ENTITY = new BaseSysLogEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn IP = new QueryColumn(this, "ip");
|
||||
|
||||
public final QueryColumn ACTION = new QueryColumn(this, "action");
|
||||
|
||||
public final QueryColumn PARAMS = new QueryColumn(this, "params");
|
||||
|
||||
public final QueryColumn USER_ID = new QueryColumn(this, "user_id");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, IP, ACTION, PARAMS, USER_ID, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public BaseSysLogEntityTableDef() {
|
||||
super("", "base_sys_log");
|
||||
}
|
||||
|
||||
private BaseSysLogEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public BaseSysLogEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new BaseSysLogEntityTableDef("", "base_sys_log", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,60 +0,0 @@
|
||||
package com.cool.modules.base.entity.sys.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class BaseSysMenuEntityTableDef extends TableDef {
|
||||
|
||||
public static final BaseSysMenuEntityTableDef BASE_SYS_MENU_ENTITY = new BaseSysMenuEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn ICON = new QueryColumn(this, "icon");
|
||||
|
||||
public final QueryColumn NAME = new QueryColumn(this, "name");
|
||||
|
||||
public final QueryColumn TYPE = new QueryColumn(this, "type");
|
||||
|
||||
public final QueryColumn PERMS = new QueryColumn(this, "perms");
|
||||
|
||||
public final QueryColumn IS_SHOW = new QueryColumn(this, "is_show");
|
||||
|
||||
public final QueryColumn ROUTER = new QueryColumn(this, "router");
|
||||
|
||||
public final QueryColumn ORDER_NUM = new QueryColumn(this, "order_num");
|
||||
|
||||
public final QueryColumn PARENT_ID = new QueryColumn(this, "parent_id");
|
||||
|
||||
public final QueryColumn VIEW_PATH = new QueryColumn(this, "view_path");
|
||||
|
||||
public final QueryColumn KEEP_ALIVE = new QueryColumn(this, "keep_alive");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, ICON, NAME, TYPE, PERMS, IS_SHOW, ROUTER, ORDER_NUM, PARENT_ID, VIEW_PATH, KEEP_ALIVE, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public BaseSysMenuEntityTableDef() {
|
||||
super("", "base_sys_menu");
|
||||
}
|
||||
|
||||
private BaseSysMenuEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public BaseSysMenuEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new BaseSysMenuEntityTableDef("", "base_sys_menu", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
package com.cool.modules.base.entity.sys.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class BaseSysParamEntityTableDef extends TableDef {
|
||||
|
||||
public static final BaseSysParamEntityTableDef BASE_SYS_PARAM_ENTITY = new BaseSysParamEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn DATA = new QueryColumn(this, "data");
|
||||
|
||||
public final QueryColumn NAME = new QueryColumn(this, "name");
|
||||
|
||||
public final QueryColumn REMARK = new QueryColumn(this, "remark");
|
||||
|
||||
public final QueryColumn KEY_NAME = new QueryColumn(this, "key_name");
|
||||
|
||||
public final QueryColumn DATA_TYPE = new QueryColumn(this, "data_type");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, DATA, NAME, REMARK, KEY_NAME, DATA_TYPE, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public BaseSysParamEntityTableDef() {
|
||||
super("", "base_sys_param");
|
||||
}
|
||||
|
||||
private BaseSysParamEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public BaseSysParamEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new BaseSysParamEntityTableDef("", "base_sys_param", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
package com.cool.modules.base.entity.sys.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class BaseSysRoleDepartmentEntityTableDef extends TableDef {
|
||||
|
||||
public static final BaseSysRoleDepartmentEntityTableDef BASE_SYS_ROLE_DEPARTMENT_ENTITY = new BaseSysRoleDepartmentEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn ROLE_ID = new QueryColumn(this, "role_id");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
public final QueryColumn DEPARTMENT_ID = new QueryColumn(this, "department_id");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, ROLE_ID, CREATE_TIME, UPDATE_TIME, DEPARTMENT_ID};
|
||||
|
||||
public BaseSysRoleDepartmentEntityTableDef() {
|
||||
super("", "base_sys_role_department");
|
||||
}
|
||||
|
||||
private BaseSysRoleDepartmentEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public BaseSysRoleDepartmentEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new BaseSysRoleDepartmentEntityTableDef("", "base_sys_role_department", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
package com.cool.modules.base.entity.sys.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class BaseSysRoleEntityTableDef extends TableDef {
|
||||
|
||||
public static final BaseSysRoleEntityTableDef BASE_SYS_ROLE_ENTITY = new BaseSysRoleEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn NAME = new QueryColumn(this, "name");
|
||||
|
||||
public final QueryColumn LABEL = new QueryColumn(this, "label");
|
||||
|
||||
public final QueryColumn REMARK = new QueryColumn(this, "remark");
|
||||
|
||||
public final QueryColumn USER_ID = new QueryColumn(this, "user_id");
|
||||
|
||||
public final QueryColumn RELEVANCE = new QueryColumn(this, "relevance");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn MENU_ID_LIST = new QueryColumn(this, "menu_id_list");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
public final QueryColumn DEPARTMENT_ID_LIST = new QueryColumn(this, "department_id_list");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, NAME, LABEL, REMARK, USER_ID, RELEVANCE, CREATE_TIME, MENU_ID_LIST, UPDATE_TIME, DEPARTMENT_ID_LIST};
|
||||
|
||||
public BaseSysRoleEntityTableDef() {
|
||||
super("", "base_sys_role");
|
||||
}
|
||||
|
||||
private BaseSysRoleEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public BaseSysRoleEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new BaseSysRoleEntityTableDef("", "base_sys_role", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
package com.cool.modules.base.entity.sys.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class BaseSysRoleMenuEntityTableDef extends TableDef {
|
||||
|
||||
public static final BaseSysRoleMenuEntityTableDef BASE_SYS_ROLE_MENU_ENTITY = new BaseSysRoleMenuEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn MENU_ID = new QueryColumn(this, "menu_id");
|
||||
|
||||
public final QueryColumn ROLE_ID = new QueryColumn(this, "role_id");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, MENU_ID, ROLE_ID, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public BaseSysRoleMenuEntityTableDef() {
|
||||
super("", "base_sys_role_menu");
|
||||
}
|
||||
|
||||
private BaseSysRoleMenuEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public BaseSysRoleMenuEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new BaseSysRoleMenuEntityTableDef("", "base_sys_role_menu", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
package com.cool.modules.base.entity.sys.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class BaseSysUserEntityTableDef extends TableDef {
|
||||
|
||||
public static final BaseSysUserEntityTableDef BASE_SYS_USER_ENTITY = new BaseSysUserEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn NAME = new QueryColumn(this, "name");
|
||||
|
||||
public final QueryColumn EMAIL = new QueryColumn(this, "email");
|
||||
|
||||
public final QueryColumn PHONE = new QueryColumn(this, "phone");
|
||||
|
||||
public final QueryColumn REMARK = new QueryColumn(this, "remark");
|
||||
|
||||
public final QueryColumn STATUS = new QueryColumn(this, "status");
|
||||
|
||||
public final QueryColumn HEAD_IMG = new QueryColumn(this, "head_img");
|
||||
|
||||
public final QueryColumn NICK_NAME = new QueryColumn(this, "nick_name");
|
||||
|
||||
public final QueryColumn PASSWORD = new QueryColumn(this, "password");
|
||||
|
||||
public final QueryColumn SOCKET_ID = new QueryColumn(this, "socket_id");
|
||||
|
||||
public final QueryColumn TENANT_ID = new QueryColumn(this, "tenant_id");
|
||||
|
||||
public final QueryColumn USERNAME = new QueryColumn(this, "username");
|
||||
|
||||
public final QueryColumn PASSWORD_V = new QueryColumn(this, "password_v");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
public final QueryColumn DEPARTMENT_ID = new QueryColumn(this, "department_id");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, NAME, EMAIL, PHONE, REMARK, STATUS, HEAD_IMG, NICK_NAME, PASSWORD, SOCKET_ID, TENANT_ID, USERNAME, PASSWORD_V, CREATE_TIME, UPDATE_TIME, DEPARTMENT_ID};
|
||||
|
||||
public BaseSysUserEntityTableDef() {
|
||||
super("", "base_sys_user");
|
||||
}
|
||||
|
||||
private BaseSysUserEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public BaseSysUserEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new BaseSysUserEntityTableDef("", "base_sys_user", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
package com.cool.modules.base.entity.sys.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class BaseSysUserRoleEntityTableDef extends TableDef {
|
||||
|
||||
public static final BaseSysUserRoleEntityTableDef BASE_SYS_USER_ROLE_ENTITY = new BaseSysUserRoleEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn ROLE_ID = new QueryColumn(this, "role_id");
|
||||
|
||||
public final QueryColumn USER_ID = new QueryColumn(this, "user_id");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, ROLE_ID, USER_ID, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public BaseSysUserRoleEntityTableDef() {
|
||||
super("", "base_sys_user_role");
|
||||
}
|
||||
|
||||
private BaseSysUserRoleEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public BaseSysUserRoleEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new BaseSysUserRoleEntityTableDef("", "base_sys_user_role", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
package com.cool.modules.dict.entity.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class DictInfoEntityTableDef extends TableDef {
|
||||
|
||||
public static final DictInfoEntityTableDef DICT_INFO_ENTITY = new DictInfoEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn NAME = new QueryColumn(this, "name");
|
||||
|
||||
public final QueryColumn VALUE = new QueryColumn(this, "value");
|
||||
|
||||
public final QueryColumn REMARK = new QueryColumn(this, "remark");
|
||||
|
||||
public final QueryColumn TYPE_ID = new QueryColumn(this, "type_id");
|
||||
|
||||
public final QueryColumn ORDER_NUM = new QueryColumn(this, "order_num");
|
||||
|
||||
public final QueryColumn PARENT_ID = new QueryColumn(this, "parent_id");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, NAME, VALUE, REMARK, TYPE_ID, ORDER_NUM, PARENT_ID, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public DictInfoEntityTableDef() {
|
||||
super("", "dict_info");
|
||||
}
|
||||
|
||||
private DictInfoEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public DictInfoEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new DictInfoEntityTableDef("", "dict_info", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
package com.cool.modules.dict.entity.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class DictTypeEntityTableDef extends TableDef {
|
||||
|
||||
public static final DictTypeEntityTableDef DICT_TYPE_ENTITY = new DictTypeEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn KEY = new QueryColumn(this, "key");
|
||||
|
||||
public final QueryColumn NAME = new QueryColumn(this, "name");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, KEY, NAME, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public DictTypeEntityTableDef() {
|
||||
super("", "dict_type");
|
||||
}
|
||||
|
||||
private DictTypeEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public DictTypeEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new DictTypeEntityTableDef("", "dict_type", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
package com.cool.modules.plugin.entity.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class PluginInfoEntityTableDef extends TableDef {
|
||||
|
||||
public static final PluginInfoEntityTableDef PLUGIN_INFO_ENTITY = new PluginInfoEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn KEY = new QueryColumn(this, "key");
|
||||
|
||||
public final QueryColumn HOOK = new QueryColumn(this, "hook");
|
||||
|
||||
public final QueryColumn LOGO = new QueryColumn(this, "logo");
|
||||
|
||||
public final QueryColumn NAME = new QueryColumn(this, "name");
|
||||
|
||||
public final QueryColumn AUTHOR = new QueryColumn(this, "author");
|
||||
|
||||
public final QueryColumn CONFIG = new QueryColumn(this, "config");
|
||||
|
||||
public final QueryColumn README = new QueryColumn(this, "readme");
|
||||
|
||||
public final QueryColumn STATUS = new QueryColumn(this, "status");
|
||||
|
||||
public final QueryColumn VERSION = new QueryColumn(this, "version");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn PLUGIN_JSON = new QueryColumn(this, "plugin_json");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
public final QueryColumn DESCRIPTION = new QueryColumn(this, "description");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, KEY, HOOK, LOGO, NAME, AUTHOR, CONFIG, README, STATUS, VERSION, CREATE_TIME, PLUGIN_JSON, UPDATE_TIME, DESCRIPTION};
|
||||
|
||||
public PluginInfoEntityTableDef() {
|
||||
super("", "plugin_info");
|
||||
}
|
||||
|
||||
private PluginInfoEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public PluginInfoEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new PluginInfoEntityTableDef("", "plugin_info", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
package com.cool.modules.recycle.entity.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class RecycleDataEntityTableDef extends TableDef {
|
||||
|
||||
/**
|
||||
* 数据回收站 软删除的时候数据会回收到该表
|
||||
*/
|
||||
public static final RecycleDataEntityTableDef RECYCLE_DATA_ENTITY = new RecycleDataEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn URL = new QueryColumn(this, "url");
|
||||
|
||||
public final QueryColumn DATA = new QueryColumn(this, "data");
|
||||
|
||||
public final QueryColumn COUNT = new QueryColumn(this, "count");
|
||||
|
||||
public final QueryColumn PARAMS = new QueryColumn(this, "params");
|
||||
|
||||
public final QueryColumn USER_ID = new QueryColumn(this, "user_id");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn ENTITY_INFO = new QueryColumn(this, "entity_info");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, URL, DATA, COUNT, PARAMS, USER_ID, CREATE_TIME, ENTITY_INFO, UPDATE_TIME};
|
||||
|
||||
public RecycleDataEntityTableDef() {
|
||||
super("", "recycle_data");
|
||||
}
|
||||
|
||||
private RecycleDataEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public RecycleDataEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new RecycleDataEntityTableDef("", "recycle_data", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
package com.cool.modules.space.entity.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class SpaceInfoEntityTableDef extends TableDef {
|
||||
|
||||
/**
|
||||
* 文件空间信息
|
||||
*/
|
||||
public static final SpaceInfoEntityTableDef SPACE_INFO_ENTITY = new SpaceInfoEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn URL = new QueryColumn(this, "url");
|
||||
|
||||
public final QueryColumn NAME = new QueryColumn(this, "name");
|
||||
|
||||
public final QueryColumn SIZE = new QueryColumn(this, "size");
|
||||
|
||||
public final QueryColumn TYPE = new QueryColumn(this, "type");
|
||||
|
||||
public final QueryColumn FILE_ID = new QueryColumn(this, "file_id");
|
||||
|
||||
public final QueryColumn VERSION = new QueryColumn(this, "version");
|
||||
|
||||
public final QueryColumn FILE_PATH = new QueryColumn(this, "file_path");
|
||||
|
||||
public final QueryColumn CLASSIFY_ID = new QueryColumn(this, "classify_id");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, URL, NAME, SIZE, TYPE, FILE_ID, VERSION, FILE_PATH, CLASSIFY_ID, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public SpaceInfoEntityTableDef() {
|
||||
super("", "space_info");
|
||||
}
|
||||
|
||||
private SpaceInfoEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public SpaceInfoEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new SpaceInfoEntityTableDef("", "space_info", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
package com.cool.modules.space.entity.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class SpaceTypeEntityTableDef extends TableDef {
|
||||
|
||||
/**
|
||||
* 图片空间信息分类
|
||||
*/
|
||||
public static final SpaceTypeEntityTableDef SPACE_TYPE_ENTITY = new SpaceTypeEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn NAME = new QueryColumn(this, "name");
|
||||
|
||||
public final QueryColumn PARENT_ID = new QueryColumn(this, "parent_id");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, NAME, PARENT_ID, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public SpaceTypeEntityTableDef() {
|
||||
super("", "space_type");
|
||||
}
|
||||
|
||||
private SpaceTypeEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public SpaceTypeEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new SpaceTypeEntityTableDef("", "space_type", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
package com.cool.modules.task.entity.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class TaskInfoEntityTableDef extends TableDef {
|
||||
|
||||
public static final TaskInfoEntityTableDef TASK_INFO_ENTITY = new TaskInfoEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn CRON = new QueryColumn(this, "cron");
|
||||
|
||||
public final QueryColumn DATA = new QueryColumn(this, "data");
|
||||
|
||||
public final QueryColumn NAME = new QueryColumn(this, "name");
|
||||
|
||||
public final QueryColumn TYPE = new QueryColumn(this, "type");
|
||||
|
||||
public final QueryColumn EVERY = new QueryColumn(this, "every");
|
||||
|
||||
public final QueryColumn JOB_ID = new QueryColumn(this, "job_id");
|
||||
|
||||
public final QueryColumn REMARK = new QueryColumn(this, "remark");
|
||||
|
||||
public final QueryColumn STATUS = new QueryColumn(this, "status");
|
||||
|
||||
public final QueryColumn END_DATE = new QueryColumn(this, "end_date");
|
||||
|
||||
public final QueryColumn SERVICE = new QueryColumn(this, "service");
|
||||
|
||||
public final QueryColumn TASK_TYPE = new QueryColumn(this, "task_type");
|
||||
|
||||
public final QueryColumn START_DATE = new QueryColumn(this, "start_date");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
public final QueryColumn NEXT_RUN_TIME = new QueryColumn(this, "next_run_time");
|
||||
|
||||
public final QueryColumn REPEAT_COUNT = new QueryColumn(this, "repeat_count");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, CRON, DATA, NAME, TYPE, EVERY, JOB_ID, REMARK, STATUS, END_DATE, SERVICE, TASK_TYPE, START_DATE, CREATE_TIME, UPDATE_TIME, NEXT_RUN_TIME, REPEAT_COUNT};
|
||||
|
||||
public TaskInfoEntityTableDef() {
|
||||
super("", "task_info");
|
||||
}
|
||||
|
||||
private TaskInfoEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public TaskInfoEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new TaskInfoEntityTableDef("", "task_info", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
package com.cool.modules.task.entity.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class TaskLogEntityTableDef extends TableDef {
|
||||
|
||||
public static final TaskLogEntityTableDef TASK_LOG_ENTITY = new TaskLogEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn DETAIL = new QueryColumn(this, "detail");
|
||||
|
||||
public final QueryColumn STATUS = new QueryColumn(this, "status");
|
||||
|
||||
public final QueryColumn TASK_ID = new QueryColumn(this, "task_id");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, DETAIL, STATUS, TASK_ID, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public TaskLogEntityTableDef() {
|
||||
super("", "task_log");
|
||||
}
|
||||
|
||||
private TaskLogEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public TaskLogEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new TaskLogEntityTableDef("", "task_log", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
package com.cool.modules.user.entity.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class UserAddressEntityTableDef extends TableDef {
|
||||
|
||||
/**
|
||||
* 用户模块-收货地址
|
||||
*/
|
||||
public static final UserAddressEntityTableDef USER_ADDRESS_ENTITY = new UserAddressEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn CITY = new QueryColumn(this, "city");
|
||||
|
||||
public final QueryColumn PHONE = new QueryColumn(this, "phone");
|
||||
|
||||
public final QueryColumn USER_ID = new QueryColumn(this, "user_id");
|
||||
|
||||
public final QueryColumn ADDRESS = new QueryColumn(this, "address");
|
||||
|
||||
public final QueryColumn CONTACT = new QueryColumn(this, "contact");
|
||||
|
||||
public final QueryColumn DISTRICT = new QueryColumn(this, "district");
|
||||
|
||||
public final QueryColumn PROVINCE = new QueryColumn(this, "province");
|
||||
|
||||
public final QueryColumn IS_DEFAULT = new QueryColumn(this, "is_default");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, CITY, PHONE, USER_ID, ADDRESS, CONTACT, DISTRICT, PROVINCE, IS_DEFAULT, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public UserAddressEntityTableDef() {
|
||||
super("", "user_address");
|
||||
}
|
||||
|
||||
private UserAddressEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public UserAddressEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new UserAddressEntityTableDef("", "user_address", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
package com.cool.modules.user.entity.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class UserInfoEntityTableDef extends TableDef {
|
||||
|
||||
public static final UserInfoEntityTableDef USER_INFO_ENTITY = new UserInfoEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn PHONE = new QueryColumn(this, "phone");
|
||||
|
||||
public final QueryColumn GENDER = new QueryColumn(this, "gender");
|
||||
|
||||
public final QueryColumn STATUS = new QueryColumn(this, "status");
|
||||
|
||||
public final QueryColumn UNIONID = new QueryColumn(this, "unionid");
|
||||
|
||||
public final QueryColumn NICK_NAME = new QueryColumn(this, "nick_name");
|
||||
|
||||
public final QueryColumn PASSWORD = new QueryColumn(this, "password");
|
||||
|
||||
public final QueryColumn AVATAR_URL = new QueryColumn(this, "avatar_url");
|
||||
|
||||
public final QueryColumn LOGIN_TYPE = new QueryColumn(this, "login_type");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, PHONE, GENDER, STATUS, UNIONID, NICK_NAME, PASSWORD, AVATAR_URL, LOGIN_TYPE, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public UserInfoEntityTableDef() {
|
||||
super("", "user_info");
|
||||
}
|
||||
|
||||
private UserInfoEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public UserInfoEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new UserInfoEntityTableDef("", "user_info", alias));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,60 +0,0 @@
|
||||
package com.cool.modules.user.entity.table;
|
||||
|
||||
import com.mybatisflex.core.query.QueryColumn;
|
||||
import com.mybatisflex.core.table.TableDef;
|
||||
|
||||
// Auto generate by mybatis-flex, do not modify it.
|
||||
public class UserWxEntityTableDef extends TableDef {
|
||||
|
||||
public static final UserWxEntityTableDef USER_WX_ENTITY = new UserWxEntityTableDef();
|
||||
|
||||
public final QueryColumn ID = new QueryColumn(this, "id");
|
||||
|
||||
public final QueryColumn CITY = new QueryColumn(this, "city");
|
||||
|
||||
public final QueryColumn TYPE = new QueryColumn(this, "type");
|
||||
|
||||
public final QueryColumn GENDER = new QueryColumn(this, "gender");
|
||||
|
||||
public final QueryColumn OPENID = new QueryColumn(this, "openid");
|
||||
|
||||
public final QueryColumn COUNTRY = new QueryColumn(this, "country");
|
||||
|
||||
public final QueryColumn UNIONID = new QueryColumn(this, "unionid");
|
||||
|
||||
public final QueryColumn LANGUAGE = new QueryColumn(this, "language");
|
||||
|
||||
public final QueryColumn NICK_NAME = new QueryColumn(this, "nick_name");
|
||||
|
||||
public final QueryColumn PROVINCE = new QueryColumn(this, "province");
|
||||
|
||||
public final QueryColumn AVATAR_URL = new QueryColumn(this, "avatar_url");
|
||||
|
||||
public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");
|
||||
|
||||
public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");
|
||||
|
||||
/**
|
||||
* 所有字段。
|
||||
*/
|
||||
public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");
|
||||
|
||||
/**
|
||||
* 默认字段,不包含逻辑删除或者 large 等字段。
|
||||
*/
|
||||
public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, CITY, TYPE, GENDER, OPENID, COUNTRY, UNIONID, LANGUAGE, NICK_NAME, PROVINCE, AVATAR_URL, CREATE_TIME, UPDATE_TIME};
|
||||
|
||||
public UserWxEntityTableDef() {
|
||||
super("", "user_wx");
|
||||
}
|
||||
|
||||
private UserWxEntityTableDef(String schema, String name, String alisa) {
|
||||
super(schema, name, alisa);
|
||||
}
|
||||
|
||||
public UserWxEntityTableDef as(String alias) {
|
||||
String key = getNameWithSchema() + "." + alias;
|
||||
return getCache(key, k -> new UserWxEntityTableDef("", "user_wx", alias));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user