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

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

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;

/**
 * 注水盒数记录表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("CU_MEMBER_SPE_RETAIL_SEQ")
@TableName("CU_MEMBER_SPE_RETAIL")
public class CuMemberSpeRetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Long pkId;
    /**
     * 结算期间
     */
    @TableField("PERIOD")
    private Integer period;
    /**
     * 结算期间时间
     */
    @TableField("PERIOD_DATE")
    private Date periodDate;

    /**
     * 会员编号
     */
    @TableField("MEMBER_CODE")
    private String memberCode;

    /**
     * 团队总盒数
     */
    @TableField("TEAM_BOX_NUM")
    private BigDecimal teamBoxNum;

    /**
     * 个人消费盒数
     */
    @TableField("CONSUME_BOX_NUM")
    private BigDecimal consumeBoxNum;
    /**
     * 小区盒数
     */
    @TableField("SMALL_BOX_NUM")
    private BigDecimal smallBoxNum;

    /**
     * 团队总pv
     */
    @TableField("TOTAL_TEAM_PV")
    private BigDecimal totalTeamPv;

    /**
     * 小区pv
     */
    @TableField("SMALL_AREA_PV")
    private BigDecimal smallAreaPv;

    /**
     * 消费pv
     */
    @TableField("CONSUME_PV")
    private BigDecimal consumePv;

    /**
     * 系统类型
     */
    @TableField("SYSTEM_TYPE")
    private Integer systemType;

}
