package com.red.circle.order.infra.database.rds.entity.pay;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 开通支付国家.
 * </p>
 *
 * @author pengshigang
 * @since 2021-12-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_pay_country")
public class PayCountry extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @TableId("id")
  private Long id;

  /**
   * 国家id.
   */
  @TableField("country_id")
  private Long countryId;

  /**
   * 国家货币.
   */
  @TableField("currency")
  private String currency;

  /**
   * 美元换算概率.
   */
  @TableField("usd_exchange_rate")
  private BigDecimal usdExchangeRate;

  /**
   * 展示权重.
   */
  @TableField("sort")
  private Integer sort;

  /**
   * 0.下架 1.上架.
   */
  @TableField("is_shelf")
  private Boolean shelf;

}
