package com.microservices.zone.member.domain.points;

import com.microservices.common.core.annotation.Excel;
import com.microservices.common.core.web.domain.BaseEntity;
import lombok.Data;

/**
 * 专区积分账户对象 zone_points_account
 *
 * @author otto
 */
@Data
public class ZonePointsAccount extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 积分账户主键
     */
    private Long id;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;

    /**
     * 专区ID（积分按专区隔离）
     */
    @Excel(name = "专区ID")
    private Long zoneId;

    /**
     * 累计积分
     */
    @Excel(name = "累计积分")
    private Integer totalPoints;

    /**
     * 累计获取积分
     */
    @Excel(name = "累计获取积分")
    private Integer totalEarnedPoints;

    /**
     * 累计消费积分
     */
    @Excel(name = "累计消费积分")
    private Integer totalConsumedPoints;

    /**
     * 可用积分
     */
    @Excel(name = "可用积分")
    private Integer availablePoints;

    /**
     * 冻结积分
     */
    @Excel(name = "冻结积分")
    private Integer frozenPoints;

    /**
     * 所属组织ID
     */
    @Excel(name = "所属组织ID")
    private Long deptId;
}