暂时先删掉

pull/1/head
sin 2019-05-20 13:36:48 +08:00
parent 6cdb7e5980
commit 9ba7cd8d87
3 changed files with 0 additions and 73 deletions

View File

@ -1,16 +0,0 @@
package cn.iocoder.mall.admin.sdk.dict;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* @author Sin
* @time 2019-04-16 20:43
*/
@Data
@Accessors(chain = true)
public class Bean {
@DictVal(dicKey = "gender", dicValue = "1")
private String gender;
}

View File

@ -1,34 +0,0 @@
package cn.iocoder.mall.admin.sdk.dict;
import java.lang.annotation.*;
/**
*
*
* @author Sin
* @time 2019-04-16 20:22
*/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DictVal {
/**
* key
*
* @return
*/
String dicKey();
/**
* value
*
* @return
*/
String dicValue();
/**
* - dictDisplayName dictDisplayName
*
* @return
*/
String mode() default "dictDisplayName";
}

View File

@ -1,23 +0,0 @@
package cn.iocoder.mall.admin.sdk.dict;
import org.springframework.util.ReflectionUtils;
/**
* {@link DictVal}
*
* @author Sin
* @time 2019-04-16 20:43
*/
public class DictValProcessor {
public static void main(String[] args) {
}
public void processor(Class<?> clazz) {
// ReflectionUtils.ann
// clazz.getFi
// ReflectionUtils
}
}