package com.red.circle.other.inner.endpoint.pet.api;

import com.red.circle.framework.dto.PageResult;
import com.red.circle.framework.dto.ResultResponse;
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 org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 宠物池管理.
 *
 * @author xiaofei on 2024/04/12
 */
public interface PetPoolClientApi {

    String API_PREFIX = "/pet-pool/client";

    @PostMapping("/feedingPage")
    ResultResponse<PageResult<PetFeedingRecordDTO>> feedingPage(@RequestBody PetFeedingRecordCmd cmd);

    @PostMapping("/addPet")
    ResultResponse<Void> addPet(@RequestBody PetAddCmd cmd);

}
