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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 应用商品.
 * </p>
 *
 * @author pengliang
 * @since 2021-11-29
 */
@Data
@Accessors(chain = true)
public class SysPayApplicationCommodityDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 区域id.
   */
  private String regionId;

  /**
   * 区域名称.
   */
  private String regionName;

  /**
   * 应用id
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long applicationId;

  /**
   * 开通支付国家
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long payCountryId;

  /**
   * 类型.
   */
  private String type;

  /**
   * 内容
   */
  private String content;

  /**
   * 奖励内容
   */
  private String awardContent;

  /**
   * 美元金额
   */
  private BigDecimal amountUsd;

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

  /**
   * 创建时间.
   */
  private Timestamp createTime;

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

}
