package com.hzs.common.domain.member.swing;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会员甩网设置明细
 * </p>
 *
 * @author hzs
 * @since 2023-08-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("CU_MEMBER_SWING_NET_DETAIL_SEQ")
@TableName("CU_MEMBER_SWING_NET_DETAIL")
public class CuMemberSwingNetDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Long pkId;

    /**
     * 主表主键
     */
    @TableField("PK_SWING_NET")
    private Long pkSwingNet;

    /**
     * 会员主键
     */
    @TableField("PK_MEMBER")
    private Long pkMember;

    /**
     * 首购业绩上传比例
     */
    @TableField("FIRST_ACHIEVE_RATIO")
    private BigDecimal firstAchieveRatio;

    /**
     * 复购业绩上传比例
     */
    @TableField("REPURCHASE_ACHIEVE_RATIO")
    private BigDecimal repurchaseAchieveRatio;

    /**
     * 是否计算首购奖金(0=是,1=否)
     */
    @TableField("FIRST_CALCULATE")
    private Integer firstCalculate;

    /**
     * 是否计算复购奖金(0=是,1=否)
     */
    @TableField("REPURCHASE_CALCULATE")
    private Integer repurchaseCalculate;


}
