package com.red.circle.other.app.dto.clientobject.sys;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 内购产品列表.
 * </p>
 *
 * @author pengshigang
 * @since 2023-03-31
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ProductConfigItemCO extends ClientObject {

  private static final long serialVersionUID = 1L;

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

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

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

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

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

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


}
