package com.jeesharp.business.modules.mall.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jeesharp.framework.mybatis.core.dataobject.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 砍价助力记录
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mall_bargain_help")
public class MallBargainHelp extends BaseEntity<MallBargainHelp> {

    /**
     * 砍价记录ID
     */
    private String recordId;

    /**
     * 助力人会员ID
     */
    private String memberId;

    /**
     * 本次砍掉金额
     */
    private BigDecimal cutAmount;

    /**
     * 助力类型：0-好友助力 1-分享助力
     */
    private Integer helpType;
}