package com.schisandra.auth.application.convert;


import com.schisandra.auth.application.dto.SchisandraAuthPermissionDTO;
import com.schisandra.auth.domain.bo.SchisandraAuthPermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring")
public interface SchisandraAuthPermissionDTOConvert {
    SchisandraAuthPermissionDTOConvert INSTANCE = Mappers.getMapper(SchisandraAuthPermissionDTOConvert.class);

    // 将SchisandraAuthPermissionDTO对象转换为SchisandraAuthPermissionBO对象
    SchisandraAuthPermissionBO convertDTOToBO(SchisandraAuthPermissionDTO schisandraAuthPermissionDTO);

    // 将SchisandraAuthPermissionBO对象转换为SchisandraAuthPermissionDTO对象
    SchisandraAuthPermissionDTO convertBOToDTO(SchisandraAuthPermissionBO authRoleBO);

}
