package com.red.circle.other.app.dto.cmd.dynamic;

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import com.red.circle.other.app.dto.clientobject.dynamic.DynamicPictureCO;
import jakarta.validation.constraints.NotBlank;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 动态-内容创建.
 *
 * @author pengshigang
 * @since 2022-4-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DynamicContentAddCmd extends AppExtCommand {

  /**
   * 图片集合.
   */
  private List<DynamicPictureCO> pictures;

  /**
   * 文字内容.
   *
   * @eo.required
   */
  @NotBlank(message = "content required.")
  private String content;

  /**
   * 标签ID.
   */
  private Long tagId;

}
