All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.circustar.mybatis_accessor.annotation.scan.DtoEntityRelation Maven / Gradle / Ivy

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 service() default IService.class;
    Class convertDtoToEntityClazz() default DefaultConverter.class;
    Class convertEntityToDtoClazz() default DefaultConverter.class;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy