com.circustar.mybatis_accessor.annotation.scan.DtoEntityRelation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-accessor Show documentation
Show all versions of mybatis-accessor Show documentation
enhancement based on mybatis plus
The newest version!
package com.circustar.mybatis_accessor.annotation.scan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.circustar.mybatis_accessor.converter.DefaultConverter;
import com.circustar.mybatis_accessor.converter.IConverter;
import java.lang.annotation.*;
@Target(value = {ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(DtoEntityRelations.class)
@Inherited
public @interface DtoEntityRelation {
Class dtoClass() default Void.class;
Class entityClass() default Void.class;
String name() default "";
Class extends IService> service() default IService.class;
Class extends IConverter> convertDtoToEntityClazz() default DefaultConverter.class;
Class extends IConverter> convertEntityToDtoClazz() default DefaultConverter.class;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy