package com.clx.performance.struct.customer;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.clx.performance.model.customer.CustomerComplaintType;
import com.clx.performance.vo.pc.customer.CustomerComplaintTypeVO;
import com.msl.common.utils.DateStructUtil;
import com.msl.common.utils.DateUtils;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring", uses = DateStructUtil.class, imports = {DateUtils.class})
public interface CustomerComplaintTypeStruct {
    Page<CustomerComplaintTypeVO> convertPage(Page<CustomerComplaintType> page);

    List<CustomerComplaintTypeVO> convertList(List<CustomerComplaintType> list);
}
