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

import com.yuchen.saas.park.api.commons.enums.DoorAccessControlConfigType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Positive;

/**
 * 配置项(条目)
 */
@Data
@AllArgsConstructor(staticName = "of")
@NoArgsConstructor
public class DoorAccessControlConfigEntry {
    private DoorAccessControlConfigType type;

    @Positive
    private long configId;
}
