package com.lz.modules.app.dto;

import com.lz.modules.app.entity.DepartmentsEntity;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class EmployeesDto {

    private Long expire ;

    private Map<String, List<DepartmentsEntity>> cacheMap;

    public EmployeesDto() {

    }

    public EmployeesDto(Long expire, Map<String, List<DepartmentsEntity>> cacheMap) {
        this.expire = expire;
        this.cacheMap = cacheMap;
    }
}
