first version of aida_back

This commit is contained in:
LiaoFJ
2023-01-06 15:17:37 +08:00
parent 7bafabb046
commit 4c531e3961
477 changed files with 15030 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package com.ai.da.common.annotation;
import com.ai.da.common.enums.ConditionType;
import java.lang.annotation.*;
/**
* @author: dangweijian
* @description: 条件注解
* @create: 2020-01-15 17:24
**/
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Condition {
ConditionType type() default ConditionType.EQ;
boolean isNull() default false;
}

View File

@@ -0,0 +1,18 @@
package com.ai.da.common.annotation;
import com.ai.da.common.enums.OrderType;
import java.lang.annotation.*;
/**
* @author: dangweijian
* @description: 排序注解
* @create: 2020-01-16 13:24
**/
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Order {
OrderType order() default OrderType.DESC;
}