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

import com.yuchen.saas.park.api.commons.CodeAble;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

import javax.validation.constraints.PositiveOrZero;

@Getter
@RequiredArgsConstructor
enum DoorAccessControlType implements CodeAble {
    GROUP(1), PERSONAL(0);

    @PositiveOrZero
    private final int code;
}