-
Notifications
You must be signed in to change notification settings - Fork 0
/
Models.swift
97 lines (85 loc) · 1.87 KB
/
Models.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
//
// Models.swift
// CurriculumVitae
//
// Created by apprenant50 on 04/06/2022.
//
import Foundation
struct MyProfile: Identifiable {
var id = UUID()
var myName: String
var mySurname: String
var dateOfBirth: String
var city: String
var myPhoto: String
var age: Int
var searching: String
var myMemoji: String
}
struct MyContacts: Identifiable {
var id = UUID()
var image : String
var donnee : String
}
enum Entreprises: String {
case cehdf = "Caisse d'Épargne Hauts de France"
case maaf = "Maaf"
case argd = "Argence Développement"
case orange = "Orange"
case lycee = "Lycée d'Excellence Edgar Morin"
case dms = "DMS Prevention"
case hetm = "H&M"
case mcdo = "McDondald's"
}
enum CityWork: String {
case roubaix = "Roubaix"
case lille = "Lille"
case arras = "Arras"
case lamad = "La Madeleine"
case douai = "Douai"
}
struct PastWork: Identifiable {
var id = UUID()
var ets : Entreprises
var city : CityWork
var duree : String
var competences : String
var logo : String
var poste: String
var contrat: String
}
struct Etudes: Identifiable {
var id = UUID()
var lieu : String
var diplome : String
var year : String
var savoir: String
var city: CityWork
var picture: String
}
struct Hobbys: Identifiable {
var id = UUID()
var imageHob : String
var nomHobby: String
var desc: String
}
struct ProWork: Identifiable {
var id = UUID()
var lieu2 : String
var nomForm : String
var year : String
var descri: String
var logopro: String
var cityP : CityWork
}
struct Competences : Identifiable {
var id = UUID()
var nomComp: String
var imageComp : String
var descComp : String
}
struct TabItemData {
let imageTab: String
let selectedImage: String
let titleTab: String
}