package com.red.circle.other.infra.database.rds.entity.gift;

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 pengliang
 * @since 2021-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_gift_pack")
public class GiftPack extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

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

  /**
   * 礼包价值糖果.
   */
  @TableField("gift_pack_candy")
  private BigDecimal giftPackCandy;

  /**
   * 优惠比率.
   */
  @TableField("discount_ratio")
  private Integer discountRatio;


  /**
   * 0.未删除 1.已删除.
   */
  @TableField("is_del")
  private Boolean del;

}
