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

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.annotation.Nullable;
import javax.validation.constraints.Positive;
import java.util.Set;

@Data
@AllArgsConstructor(staticName = "of")
@NoArgsConstructor
public class DoorAccessControlConfigCombinedTarget {
    @Nullable
    private Set<DepartmentGroup> departmentGroups;
    @Nullable
    private Set<@Positive Long> userGroupIds;
    @Nullable
    private Set<@Positive Long> userIds;

    @Nullable
    private Set<@Positive Long> doorAccessControlGroupIds;
    @Nullable
    private Set<@Positive Long> doorAccessControlIds;
}
