package com.qqchen.deploy.backend.system.converter;

import com.qqchen.deploy.backend.system.entity.Permission;
import com.qqchen.deploy.backend.framework.converter.BaseConverter;
import com.qqchen.deploy.backend.system.model.PermissionDTO;
import com.qqchen.deploy.backend.system.model.response.PermissionResponse;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(config = BaseConverter.class)
public interface PermissionConverter extends BaseConverter<Permission, PermissionDTO> {
    List<PermissionResponse> toResponseList(List<Permission> list);
}