package com.red.circle.other.infra.database.mongo.entity.user.profile;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document("user_vip_ability_setting")
public class UserVipAbilitySetting {

    @Id
    private Long userId;

    /** 联系权限模式: EVERYONE / VIP2_ABOVE / VIP5_ABOVE / DO_NOT_DISTURB */
    private String contactMode;

    /** 防踢开关 */
    private Boolean kickPrevention;

    /** 排行榜隐身开关 */
    private Boolean mysteriousInvisibility;

    /** 防拉黑开关 */
    private Boolean antiBlock;

    /** 上次记录的VIP等级，用于判断升级时新解锁的功能 */
    private String lastVipLevel;

    /** 最后更新时间 */
    private Date updateTime;
}