package com.red.circle.other.inner.endpoint.team.logs.api;

import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.other.inner.model.dto.agency.logs.TeamImportanceLogDTO;
import java.util.List;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 团队关键日志.
 *
 * @author pengliang on 2023/11/21
 */
public interface TeamImportanceLogClientApi {

  String API_PREFIX = "/team/importance/log/client";

  /**
   * 添加.
   */
  @PostMapping("/add")
  ResultResponse<Void> add(@RequestBody TeamImportanceLogDTO dto);

  /**
   * 添加一批.
   */
  @PostMapping("/addBatch")
  ResultResponse<Void> addBatch(@RequestBody List<TeamImportanceLogDTO> list);

}
