package com.red.circle.order.inner.model.cmd;

import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 内购产品列
 * </p>
 *
 * @author pengshigang
 * @since 2023-03-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysProductConfigParamCmd extends CommonCommand {

  private static final long serialVersionUID = 1L;

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

  /**
   * 系统归属.
   */
  @NotBlank
  private String sysOrigin;

  /**
   * 描述.
   */
  private String description;

  /**
   * 包名.
   */
  @NotBlank
  private String productPackage;

  /**
   * 产品单价.
   */
  @NotNull
  private BigDecimal unitPrice;

  /**
   * 获得糖果数量.
   */
  @NotNull
  private BigDecimal obtainCandy;

  /**
   * 奖励糖果.
   */
  private BigDecimal rewardCandy;

  /**
   * 平台.
   */
  @NotBlank
  private String platform;

  /**
   * 区域ids.
   */
  private List<String> regionList;

  /**
   * 显示序号.
   */
  @NotNull
  private Integer sort;

  /**
   * 0.下架 1.上架.
   */
  private Boolean showcase;

  /**
   * 操作用户
   */
  private Long optUserId;

}
