package com.schisandra.auth.application.convert;

import com.schisandra.auth.application.dto.SchisandraAuthUserRoleDTO;
import com.schisandra.auth.domain.bo.SchisandraAuthUserRoleBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 *  dto转换器
 *
 * @author zlg
 * @since 2024-05-25 18:05:40
 */
@Mapper
public interface SchisandraAuthUserRoleDTOConverter {

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

    SchisandraAuthUserRoleBO convertDTOToBO(SchisandraAuthUserRoleDTO schisandraAuthUserRoleDTO);

    SchisandraAuthUserRoleDTO convertBOToDTO(SchisandraAuthUserRoleBO schisandraAuthUserRoleBO);

}
