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 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
|
Entreprise:
tableName: entreprise
columns:
nom:
type: string(45)
notnull: true
addresse:
type: string(45)
siret:
type: string(45)
raison_sociale:
type: string(45)
commentaire:
type: string(45)
Site:
tableName: site
columns:
nom:
type: string(45)
notnull: true
mode_acces_reseau:
type: string(45)
addresse:
type: string(45)
commentaire:
type: string(45)
autoincrement: false
entreprise_id:
type: integer
notnull: true
relations:
Entreprise:
foreignAlias: Sites # One to Many
Batiment:
tableName: batiment
columns:
nom:
type: string(45)
notnull: true
etage:
type: integer(4)
commentaire:
type: string(45)
site_id:
type: integer
notnull: true
relations:
Site:
foreignAlias: Batiments # One to Many
Service:
tableName: service
columns:
nom:
type: string(45)
notnull: true
commentaire:
type: string(45)
relations:
Batiments:
foreignAlias: Services
class: Batiment
refClass: BatimentService # Many To Many
Personnels:
foreignAlias: Services
class: Personnel
refClass: PersonnelService # Many To Many
BatimentService:
tableName: batiment_has_service
columns:
service_id:
type: integer
primary: true
batiment_id:
type: integer
primary: true
relations:
Batiment:
foreignAlias: BatimentServices
Service:
foreignAlias: BatimentServices
Personnel:
tableName: personnel
columns:
nom:
type: string(45)
prenom:
type: string(45)
fonction:
type: string(45)
mail:
type: string(45)
num:
type: string(45)
naissance:
type: datetime
is_masculin:
type: integer(1)
PersonnelService:
tableName: personnel_has_service
columns:
personnel_id:
type: integer
primary: true
service_id:
type: integer
primary: true
relations:
Personnel:
foreignAlias: PersonnelServices
Service:
foreignAlias: PersonnelServices
Bureau:
connection: doctrine
tableName: bureau
columns:
num:
type: string(10)
etage:
type: string(45)
commentaire:
type: string(45)
relations:
Personnels:
foreignAlias: Bureaus
class: Personnel
refClass: PersonnelBureau # Many To Many
PersonnelBureau:
tableName: personnel_has_bureau
columns:
personnel_id:
type: integer
primary: true
bureau_id:
type: integer
primary: true
relations:
Personnel:
foreignAlias: PersonnelBureaus
Bureau:
foreignAlias: PersonnelBureaus
BureauOrdinateur:
tableName: bureau_has_ordinateur
columns:
bureau_id:
type: integer
primary: true
ordinateur_id:
type: integer
primary: true
relations:
Ordinateur:
foreignAlias: BureauOrdinateurs
Bureau:
foreignAlias: BureauOrdinateurs
PersonnelOrdinateur:
tableName: personnel_has_ordinateur
columns:
personnel_id:
type: integer
primary: true
ordinateur_id:
type: integer
primary: true
relations:
Ordinateur:
foreignAlias: PersonnelOrdinateurs
Personnel:
foreignAlias: PersonnelOrdinateurs |
Partager