package com.yuchen.saas.park.api.dto.door;

import com.fasterxml.jackson.annotation.JsonUnwrapped;
import com.yuchen.saas.park.api.commons.domain.DoorAccessControlConfigSetting;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Positive;
import java.util.Set;

@Data
public class DoorAccessControlConfigUpdateDTO {
    @NotEmpty
    private Set<@Positive Long> ids;
    @JsonUnwrapped
    private DoorAccessControlConfigSetting setting;
}
