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

import com.red.circle.common.business.core.enums.SysOriginPlatformEnum;
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;

/**
 * @author pengliang on 2022/4/2
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class PropsSingeSaleQryCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;
  /**
   * 系统来源.
   */
  @NotNull(message = "sysOrigin required.")
  private SysOriginPlatformEnum sysOrigin;

  /**
   * 日期.
   */
  @NotBlank(message = "date required.")
  private String date;

  /**
   * 指定道具.
   */
  @NotNull(message = "propsSourceId required.")
  private Long propsSourceId;
}
