import 'package:freezed_annotation/freezed_annotation.dart';

part 'user_entity.freezed.dart';

@freezed
abstract class UserEntity with _$UserEntity {
  const factory UserEntity({
    required String id,
    required String delegationId,
    required String email,
    required String createdAt,
    required String updatedAt,
    required String status,
    required String role,
    required String lastLogin,
    required String currentLogin,
    required String language,
    required String firstName,
    required String lastName,
    required String hasApiKey,
    required String phone,
  }) = _UserEntity;
}
