// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'profile_data.dart';

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

_ProfileData _$ProfileDataFromJson(Map<String, dynamic> json) => _ProfileData(
  id: json['id'] as String?,
  fullName: json['full_name'] as String?,
  username: json['username'] as String?,
  email: json['email'] as String?,
  role: json['role'] as String?,
  status: json['status'] as String?,
  department: json['department'] as String?,
  position: json['position'] as String?,
  phone: json['phone'] as String?,
  profileImage: json['profile_image'] as String?,
  isVerified: json['is_verified'] as bool?,
  lastLoginAt: (json['last_login_at'] as num?)?.toInt(),
  createdAt: (json['created_at'] as num?)?.toInt(),
  updatedAt: (json['updated_at'] as num?)?.toInt(),
);

Map<String, dynamic> _$ProfileDataToJson(_ProfileData instance) =>
    <String, dynamic>{
      'id': instance.id,
      'full_name': instance.fullName,
      'username': instance.username,
      'email': instance.email,
      'role': instance.role,
      'status': instance.status,
      'department': instance.department,
      'position': instance.position,
      'phone': instance.phone,
      'profile_image': instance.profileImage,
      'is_verified': instance.isVerified,
      'last_login_at': instance.lastLoginAt,
      'created_at': instance.createdAt,
      'updated_at': instance.updatedAt,
    };
