com.kuangkie.carbon.record.annotation.RelationAttribute Maven / Gradle / Ivy
The newest version!
package com.kuangkie.carbon.record.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Inherited;
import static java.lang.annotation.ElementType.FIELD;
/**
* 暂时只支持读
* @version: V1.0
*
* @author: wangnq
*
* @className: RelationAttribute
*
* @packageName: cho.carbon.rrc.annotation
*
* @description:
*
* @data: 2023年1月6日
*
*
*/
@Target({FIELD})
@Retention(RUNTIME)
@Inherited
public @interface RelationAttribute {
long type();
String itemCode();
String optType() default "读";
}