package com.red.circle.other.app.inner.service.pet.impl;

import com.red.circle.framework.dto.PageResult;
import com.red.circle.other.app.inner.service.pet.PetPoolClientService;
import com.red.circle.other.infra.convertor.pet.PetFeedingRecordConvertor;
import com.red.circle.other.infra.database.rds.service.pet.PetFeedingRecordService;
import com.red.circle.other.infra.database.rds.service.pet.PetPoolService;
import com.red.circle.other.inner.model.cmd.pet.PetAddCmd;
import com.red.circle.other.inner.model.cmd.pet.PetFeedingRecordCmd;
import com.red.circle.other.inner.model.dto.pet.PetFeedingRecordDTO;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 宠物池管理.
 *
 * @author xiaofei on 2024/04/12
 */
@Service
@RequiredArgsConstructor
public class PetPoolClientServiceImpl implements PetPoolClientService {

    private final PetPoolService petPoolService;
    private final PetFeedingRecordService petFeedingRecordService;
    private final PetFeedingRecordConvertor feedingRecordConvertor;

    @Override
    public PageResult<PetFeedingRecordDTO> feedingPage(PetFeedingRecordCmd cmd) {
        return petFeedingRecordService.feedingPage(cmd);
    }

    @Override
    public void addPet(PetAddCmd cmd) {

    }
}
