import 'package:freezed_annotation/freezed_annotation.dart';
import 'address_entity.dart';

part 'sign_up_request_entity.freezed.dart';

@freezed
abstract class SignUpRequestEntity with _$SignUpRequestEntity {
  const factory SignUpRequestEntity({
    required String documentType,
    required String documentNumber,
    required String relationship,
    required String firstName,
    required String lastName,
    required String email,
    required String phone,
    required String language,
    required String password,
    required List<AddressEntity> taxResidences,
    required List<AddressEntity> addresses,
    required int bornAt,
    required String userId, // UUID
    required String placeOfBirth,
    required String birthCountry,
  }) = _SignUpRequestEntity;
}
