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

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-06-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("CU_MEMBER_MONTH_ACHIEVE_SEQ")
@TableName("CU_MEMBER_MONTH_ACHIEVE")
public class CuMemberMonthAchieve extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 期间
     */
    @TableField("PERIOD")
    private Integer period;

    /**
     * 结算月
     */
    @TableField("SETTLE_MONTH")
    private String settleMonth;

    /**
     * 推荐月累计金额
     */
    @TableField("RECOMMEND_MONEY")
    private BigDecimal recommendMoney;

    /**
     * 推荐月累计业绩
     */
    @TableField("RECOMMEND_ACHIEVE")
    private BigDecimal recommendAchieve;

    /**
     * 复购月累计金额
     */
    @TableField("REPURCHASE_MONEY")
    private BigDecimal repurchaseMoney;

    /**
     * 复购月累计业绩
     */
    @TableField("REPURCHASE_ACHIEVE")
    private BigDecimal repurchaseAchieve;


}
