package com.reading.platform.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.reading.platform.dto.request.TenantCreateRequest;
import com.reading.platform.dto.request.TenantUpdateRequest;
import com.reading.platform.dto.response.TenantResponse;
import com.reading.platform.entity.Tenant;

import java.util.List;

/**
 * Tenant Service Interface
 */
public interface TenantService {

    Tenant createTenant(TenantCreateRequest request);

    Tenant updateTenant(Long id, TenantUpdateRequest request);

    Tenant getTenantById(Long id);

    Page<Tenant> getTenantPage(Integer pageNum, Integer pageSize, String keyword, String status);

    void deleteTenant(Long id);

    List<TenantResponse> getAllActiveTenants();

}
