package com.red.circle.console.infra.convertor;

import com.red.circle.console.infra.database.rds.dto.admin.ResourcePermDTO;
import com.red.circle.console.infra.database.rds.entity.admin.Resource;
import com.red.circle.framework.core.convertor.ConvertorModel;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2023/5/11
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface ResourcePermInfraConvertor {

  ResourcePermDTO toResourcePermDTO(Resource resource);
}
