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
|
Menu:
columns:
id: { type: integer, primary: true , autoincrement: true }
produit : { type: integer }
nom: { type: string }
type: { type: string }
entree_id : { type: integer (10) }
salade_id : { type: integer (10) }
pizza_id : {type : integer(10) }
dessert_id : { type : integer(10) }
boisson_id : { type: integer (10)}
prix: { type: string }
Entree :
columns :
id: { type : integer , primary : true , autoincrement : true }
nom : { type : string }
description : { type : string }
prix : { type : integer }
type : { type : string }
relations:
Menu: { onDelete : CASCADE, local: id , refClass: Menu, foreign : entree_id , foreignAlias : Entrees }
Boisson :
columns :
id: { type : integer , primary : true , autoincrement : true }
nom : { type : string }
description : { type : string }
prix : { type : integer }
relations:
Menu: { onDelete : CASCADE, local: id , refClass: Menu, foreign : boisson_id, foreignAlias : Boissons }
Pizza :
columns :
id: { type : integer , primary : true , autoincrement : true }
nom : { type : string }
description : { type : string }
prix : { type : integer }
relations:
Menu: { onDelete : CASCADE, local: id , refClass: Menu, foreign : pizza_id, foreignAlias : Pizzas }
Salades :
columns :
id: { type : integer , primary : true , autoincrement : true }
nom : { type : string }
description : { type : string }
prix : { type : integer }
type : { type : string }
relations:
Menu: { onDelete : CASCADE, local: id , refClass: Menu, foreign : salade_id, foreignAlias : Saladess }
Dessert :
columns :
id: { type : integer , primary : true , autoincrement : true }
nom : { type : string }
description : { type : string }
prix : { type : integer }
type : { type : string }
relations:
Menu: { onDelete : CASCADE, local: id , refClass: Menu, foreign : dessert_id, foreignAlias : Desserts }
News:
columns:
id: { type: integer, primary: true , autoincrement: true }
type: { type: integer , notnull: true }
description: { type: string , notnull: true }
Newsletter:
columns:
id: { type: integer, primary: true , autoincrement: true }
nom: { type: string , notnull: true }
email: { type: string , notnull: true }
Produit:
columns:
id: { type: integer, primary: true , autoincrement: true }
nom: { type: string , notnull: true }
logo: { type: string , notnull: true }
description: { type: string , notnull: true }
prix: { type: float , notnull: true }
type: { type: string , notnull: true }
Categories:
columns:
id: { type: integer, primary: true , autoincrement: true }
nom: { type: string , notnull: true }
type: { type: integer, notnull: true }
Magasins:
columns:
id: { type: integer, primary: true , autoincrement: true }
nom: { type: string , notnull: true }
ville : { type: string , notnull: true }
numero: { type: integer, notnull: true }
adresse : { type: string , notnull: true } |
Partager