package com.yuchen.saas.park.api.entity.door.config;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yuchen.saas.park.api.commons.entity.SimpleEntity;
import lombok.Data;

import javax.validation.constraints.Positive;

/**
 * 门禁权限
 */
@TableName
@Data
public class DoorAccessControlUserPermissions extends SimpleEntity {
    @Positive
    private long userId;

    /**
     * 黑名单
     */
    private boolean blacklisted;

    /**
     * 冻结
     */
    private boolean frozen;

    /**
     * 删除
     */
    private boolean deleted;
}
