package com.bcxin.tenant.domain.services;

import com.bcxin.tenant.domain.services.commands.*;
import com.bcxin.tenant.domain.services.commands.results.ImportDepartmentCommandResult;

import java.util.Collection;

public interface DepartmentService {
    String create(DepartmentCommand command);

    void update(String id, DepartmentCommand command);

    void delete(DeleteDepartmentCommand command);

    ImportDepartmentCommandResult batchImport(ImportDepartmentCommand command);

    void dispatch(ChangeDepartmentDisplayOrderCommand command);

    void dispatch(BatchAssignImPermissionCommand command);

    void dispatch(BatchMoveDepartEmployeeCommand command);

    void dispatch(BatchDeleteDepartmentCommand command);
}
