package com.kym.entity.miniapp;

import com.baomidou.mybatisplus.annotation.TableName;
import com.kym.entity.BaseEntity;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单充值权益表
 * </p>
 *
 * @author skyline
 * @since 2023-10-19
 */
@Getter
@Setter
@TableName("t_order_recharge_rights")
@Accessors(chain = true)
public class OrderRechargeRights extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 充值权益id
     */
    private Long rightsId;

    /**
     * 主活动id
     */
    private Long activityId;

    /**
     * 用户充值权益id
     */
    private Long userRightsId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 充电订单号
     */
    private String startChargeSeq;

    /**
     * 折扣：100代表无折扣，75代表75折
     */
    private Integer discount;

    /**
     * 总优惠金额（分）
     */
    private Integer discountAmount;
}
