part of '../outlet.dart';

@freezed
class Outlet with _$Outlet {
  const factory Outlet({
    required String id,
    required String organizationId,
    required String name,
    required String address,
    required String phoneNumber,
    required String businessType,
    required String currency,
    required double taxRate,
    required bool isActive,
    required String createdAt,
    required String updatedAt,
  }) = _Outlet;

  factory Outlet.empty() => const Outlet(
    id: '',
    organizationId: '',
    name: '',
    address: '',
    phoneNumber: '',
    businessType: '',
    currency: '',
    taxRate: 0.0,
    isActive: false,
    createdAt: '',
    updatedAt: '',
  );
}
