package com.red.circle.console.app.dto.cmd.app.activity;

import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 保存活动名人堂.
 * </p>
 *
 * @author pengshigang
 * @since 2021-8-11
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class ActivityHallFameSaveOrUpdateCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  private Long id;

  /**
   * 系统.
   */
  @NotBlank(message = "sysOrigin required.")
  private String sysOrigin;

  /**
   * 用户userId.
   */
  @NotBlank(message = "accounts required.")
  private String accounts;

  /**
   * 顺序.
   */
  @NotNull(message = "sort required.")
  private Integer sort;

  /**
   * 是否下架.
   */
  @NotNull(message = "del required.")
  private Boolean del;

  /**
   * 备注
   */
  @NotBlank(message = "notes required.")
  private String notes;

}
