package com.schisandra.auth.application.convert;

import com.schisandra.auth.application.dto.SchisandraAuthRolePermissionDTO;
import com.schisandra.auth.domain.bo.SchisandraAuthRolePermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 *  dto转换器
 *
 * @author landaiqing
 * @since 2024-06-02 00:14:38
 */
@Mapper
public interface SchisandraAuthRolePermissionDTOConverter {

    SchisandraAuthRolePermissionDTOConverter INSTANCE = Mappers.getMapper(SchisandraAuthRolePermissionDTOConverter.class);

    SchisandraAuthRolePermissionBO convertDTOToBO(SchisandraAuthRolePermissionDTO schisandraAuthRolePermissionDTO);
    SchisandraAuthRolePermissionDTO convertBOToDTO(SchisandraAuthRolePermissionBO schisandraAuthRolePermissionBO);

}
