package com.red.circle.console.app.service.app.dynamic;

import com.red.circle.console.app.dto.clienobject.dynamic.PageDynamicContentCO;
import com.red.circle.framework.dto.PageResult;
import com.red.circle.other.inner.model.cmd.dynamic.CreateDynamicVideoCmd;
import com.red.circle.other.inner.model.cmd.dynamic.DelDynamicContentCmd;
import com.red.circle.other.inner.model.cmd.dynamic.DynamicContentQryCmd;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 动态内容 服务类.
 * </p>
 *
 * @author pengshigang
 * @since 2022-4-18
 */
public interface DynamicContentService {


  /**
   * 删除动态.
   */
  void deleteByIds(DelDynamicContentCmd delDynamicContentCmd);

  /**
   * 动态内容.
   */
  PageResult<PageDynamicContentCO> page(DynamicContentQryCmd query);

  /**
   * 插入动态视频
   * @param cmd
   * @return
   */
  Integer createVideo(CreateDynamicVideoCmd cmd);
}
