first commit

This commit is contained in:
Anbarasu
2026-05-26 18:01:57 +05:30
commit 6d59c8daf6
297 changed files with 35238 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import '../../../modules/tenant/get_tenant.dart';
import '../../provider/tenant/get_tenant_pro.dart';
abstract class CustomerTenantsRepository {
Future<CustomerTenantsResponse?> getCustomerTenants(int customerId);
Future<OrdersResponse?> getCustomerOrders(int customerId);
Future<Map<String, dynamic>?> createTenantCustomer({
required int tenantId,
required int locationId,
required int customerId,
required int status,
});
final CustomerTenantsProvider provider;
CustomerTenantsRepository({required this.provider});
Future<TenantLocationsResponse?> getTenantLocations(int tenantId) async {
final response = await provider.getTenantLocations(tenantId);
return response;
}
}