package com.red.circle.other.app.inner.convertor.count;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.mongo.dto.query.PropsSaleQuotaQuery;
import com.red.circle.other.infra.database.mongo.entity.props.StatisticsPropsSaleQuota;
import com.red.circle.other.inner.model.cmd.count.PropsSaleQuotaQryCmd;
import com.red.circle.other.inner.model.dto.count.StatisticsPropsSaleQuotaDTO;
import java.util.List;
import org.mapstruct.Mapper;

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

  PropsSaleQuotaQuery toPropsSaleQuotaQuery(PropsSaleQuotaQryCmd qryCmd);

  List<StatisticsPropsSaleQuotaDTO> toListStatisticsPropsSaleQuotaDTO(
      List<StatisticsPropsSaleQuota> quotas);

}
