package com.bcxin.tenant.domain.snapshots;

import lombok.Data;

import java.util.Collection;

@Data
public class DepartImAllowedDepartSnapshot {
    private Collection<String> departIds;

    public DepartImAllowedDepartSnapshot() {
    }

    public DepartImAllowedDepartSnapshot(Collection<String> departIds) {
        this.setDepartIds(departIds);
    }

    public static DepartImAllowedDepartSnapshot create(Collection<String> departIds) {
        return new DepartImAllowedDepartSnapshot(departIds);
    }
}
