package com.yuchen.saas.park.api.commons.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

import javax.validation.constraints.PositiveOrZero;

@Getter
@RequiredArgsConstructor
public enum DoorAccessControlUserType {
    DEPARTMENT(2), GROUP(1), PERSONAL(0);

    @PositiveOrZero
    private final int code;
}