package com.spring.core.event.salesuser;

import com.spring.core.event.ReadEvent;
import java.util.Collections;
import java.util.List;

/**
 * @author vahid hosseinzadeh
 * @version 1.0
 * @since 1.0
 */

public class AllSalesUsersDetailsEvent extends ReadEvent {
    private final List<SalesUserDetails> salesUserDetailsList;

    public AllSalesUsersDetailsEvent(List<SalesUserDetails> salesUserDetailsList) {
        this.salesUserDetailsList = Collections.unmodifiableList(salesUserDetailsList);
    }

    public List<SalesUserDetails> getSalesUserDetailsList() {
        return salesUserDetailsList;
    }
}
