cofounderella/lib/models/user_profile.dart

58 lines
1.3 KiB
Dart
Raw Normal View History

import '../enumerations.dart';
2024-05-24 00:30:08 +02:00
import 'language.dart';
import 'location.dart';
class UserProfile {
final String id;
final String uid;
final String email;
2024-05-30 16:37:34 +02:00
String name;
2024-05-24 00:30:08 +02:00
final String firstName;
final String lastName;
2024-05-30 16:37:34 +02:00
String? profilePictureUrl;
String? urlFacebook;
String? urlLinkedIn;
String? urlXing;
2024-05-30 16:37:34 +02:00
String? bio;
Gender? gender;
int? born;
2024-05-31 23:16:15 +02:00
RiskTolerance risk;
AvailabilityOption availability;
CultureOption culture;
2024-05-31 23:55:33 +02:00
CommunicationPreference communication;
2024-05-31 18:31:37 +02:00
List<SkillOption> skills;
List<SkillOption> skillsSought;
2024-06-21 02:42:45 +02:00
List<SectorOption> sectors;
2024-05-31 23:16:15 +02:00
List<VisionOption> visions;
List<WorkValueOption> workValues;
List<Language> languages;
Map<String, MyLocation?> locations;
2024-05-24 00:30:08 +02:00
UserProfile({
required this.id,
required this.uid,
required this.email,
required this.name,
required this.firstName,
required this.lastName,
2024-05-30 16:37:34 +02:00
this.profilePictureUrl,
this.urlFacebook,
this.urlLinkedIn,
this.urlXing,
2024-05-30 16:37:34 +02:00
this.bio,
this.gender,
this.born,
2024-05-24 00:30:08 +02:00
required this.risk,
2024-05-31 23:16:15 +02:00
required this.availability,
required this.culture,
2024-05-31 23:55:33 +02:00
required this.communication,
2024-05-24 00:30:08 +02:00
required this.skills,
required this.skillsSought,
2024-06-21 02:42:45 +02:00
required this.sectors,
2024-05-31 23:16:15 +02:00
required this.visions,
required this.workValues,
2024-05-24 00:30:08 +02:00
required this.languages,
required this.locations,
});
}