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

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 新零售会员区域考核明细表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("CU_REGION_ASSESS_DETAIL_SEQ")
@TableName("CU_REGION_ASSESS_DETAIL")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CuRegionAssessDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 主表主键
     */
    @TableField("PK_REGION_ASSESS")
    private Long pkRegionAssess;

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

    /**
     * 考核日期
     */
    @TableField("ASSESS_DATE")
    private Date assessDate;

    /**
     * 会员奖衔
     */
    @TableField("PK_AWARDS")
    private Integer pkAwards;

    /**
     * 团队月消费pv
     */
    @TableField("TEAM_MONTH_PV")
    private BigDecimal teamMonthPv;

    /**
     * 团队月消费pv
     */
    @TableField("SMALL_AREA_PV")
    private BigDecimal smallAreaPv;

    /**
     * 考核状态 (0=考核通过,1=免考通过,2=考核不通过,3=不考核)
     */
    @TableField("ASSESS_STATUS")
    private Integer assessStatus;


}
