// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'table_dtos.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

_$ListTableDtoImpl _$$ListTableDtoImplFromJson(Map<String, dynamic> json) =>
    _$ListTableDtoImpl(
      tables: (json['tables'] as List<dynamic>?)
          ?.map((e) => TableDto.fromJson(e as Map<String, dynamic>))
          .toList(),
      totalCount: (json['total_count'] as num?)?.toInt(),
      page: (json['page'] as num?)?.toInt(),
      limit: (json['limit'] as num?)?.toInt(),
      totalPages: (json['total_pages'] as num?)?.toInt(),
    );

Map<String, dynamic> _$$ListTableDtoImplToJson(_$ListTableDtoImpl instance) =>
    <String, dynamic>{
      'tables': instance.tables,
      'total_count': instance.totalCount,
      'page': instance.page,
      'limit': instance.limit,
      'total_pages': instance.totalPages,
    };

_$TableDtoImpl _$$TableDtoImplFromJson(Map<String, dynamic> json) =>
    _$TableDtoImpl(
      id: json['id'] as String?,
      organizationId: json['organization_id'] as String?,
      outletId: json['outlet_id'] as String?,
      tableName: json['table_name'] as String?,
      status: json['status'] as String?,
      paymentAmount: (json['payment_amount'] as num?)?.toInt(),
      positionX: (json['position_x'] as num?)?.toDouble(),
      positionY: (json['position_y'] as num?)?.toDouble(),
      capacity: (json['capacity'] as num?)?.toInt(),
      isActive: json['is_active'] as bool?,
      createdAt: json['created_at'] as String?,
      updatedAt: json['updated_at'] as String?,
    );

Map<String, dynamic> _$$TableDtoImplToJson(_$TableDtoImpl instance) =>
    <String, dynamic>{
      'id': instance.id,
      'organization_id': instance.organizationId,
      'outlet_id': instance.outletId,
      'table_name': instance.tableName,
      'status': instance.status,
      'payment_amount': instance.paymentAmount,
      'position_x': instance.positionX,
      'position_y': instance.positionY,
      'capacity': instance.capacity,
      'is_active': instance.isActive,
      'created_at': instance.createdAt,
      'updated_at': instance.updatedAt,
    };
