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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.DTO;
import java.io.Serial;
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 SysProductConfigDTO extends DTO {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

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

  /**
   * 产品id.
   */
  private String productId;

  /**
   * 产品Package.
   */
  private String productPackage;

  /**
   * 产品类型.
   */
  private String productType;

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

  /**
   * 分组名称.
   */
  private String groupName;

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

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

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

  /**
   * 折扣率.
   */
  private BigDecimal discountRate;

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

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

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

  /**
   * 是否推荐产品.
   */
  private Boolean recommend;

  /**
   * 标签.
   */
  private String tags;

}
