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
| Page:
connection: doctrine
tableName: page
columns:
id:
type: integer(4)
primary: true
autoincrement: true
page_nom:
type: string()
notnull: true
page_titre:
type: string()
notnull: true
# [...}
Souspage:
connection: doctrine
tableName: souspage
columns:
id:
type: integer(4)
primary: true
autoincrement: true
page_id:
type: integer(4)
notnull: true
souspage_titre:
type: string()
notnull: true
souspage_description:
type: string()
notnull: true
souspage_image:
type: string()
notnull: true
souspage_image_01_titre: { type: string(1000), notnull: true }
souspage_image_01_lien: { type: string(), notnull: true }
souspage_image_02_titre: { type: string(1000), notnull: true }
souspage_image_02_lien: { type: string(), notnull: true }
# [...]
relations:
Page:
local: page_id
foreign: id
type: one |
Partager