package com.cxs.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.FIELD) //注解的目标
@Retention(RetentionPolicy.RUNTIME)
public @interface Column {
public String field() ; //字段名称
public boolean primaryKey() default false;//是否为主键
public String type() default "VARCHAR(80)";//字段类型
public boolean defaultNull() default true; //是否允许为空
}
最近下载更多
泓鼎168 LV20
2023年8月22日
wanglongfei2 LV2
2023年6月15日
13133117021 LV5
2023年5月31日
996171721 LV7
2023年5月29日
980363152 LV8
2023年5月15日
想飞的大肥猪 LV9
2023年5月9日
最代码官方 LV168
2023年5月7日
小帅哥 LV2
2023年5月7日

最近浏览