--- /dev/null
+create table cantine_CantineAliment (
+ alimentId LONG not null primary key,
+ familleAlimentId LONG,
+ nomAliment VARCHAR(75) null,
+ protide DOUBLE,
+ lipide DOUBLE,
+ glucide DOUBLE,
+ calcium DOUBLE
+);
+
+create table cantine_CantineCategorieRecette (
+ cantineCategorieRecetteId LONG not null primary key,
+ typeRecette VARCHAR(75) null,
+ parentCategorieId LONG,
+ nomCategorie VARCHAR(75) null,
+ codeCategorie VARCHAR(75) null,
+ couleurCategorie VARCHAR(75) null
+);
+
+create table cantine_CantineCollegeConfiguration (
+ cantineCollegeConfigurationId LONG not null primary key,
+ etabId LONG,
+ hasMercredi BOOLEAN,
+ hasSamedi BOOLEAN,
+ hasDimanche BOOLEAN,
+ hasInternat BOOLEAN
+);
+
+create table cantine_CantineDatePlanAlimentaire (
+ cantineDatePlanAlimentaireId LONG not null primary key,
+ etabId LONG,
+ userId LONG,
+ planAlimentaireId LONG,
+ date_ DATE null,
+ titreMenu VARCHAR(75) null
+);
+
+create table cantine_CantineFamilleAliment (
+ familleAlimentId LONG not null primary key,
+ nomFamille VARCHAR(75) null
+);
+
+create table cantine_CantineGEMRCN (
+ gemrcnId LONG not null primary key,
+ libelleGemrcn VARCHAR(75) null,
+ frequence INTEGER,
+ typeFrequence INTEGER
+);
+
+create table cantine_CantineGEMRCNTypeRecette (
+ cantineGEMRCNTypeRecetteId LONG not null primary key,
+ gemrcnId LONG,
+ typeRecette VARCHAR(75) null
+);
+
+create table cantine_CantineIngredient (
+ ingredientId LONG not null primary key,
+ recetteId LONG,
+ alimentId LONG,
+ grammage INTEGER
+);
+
+create table cantine_CantineMenu (
+ cantineMenuId LONG not null primary key,
+ cantineDatePlanAlimentaireId LONG,
+ recetteId LONG,
+ typeRecette VARCHAR(75) null
+);
+
+create table cantine_CantinePlanAlimentaire (
+ planAlimentaireId LONG not null primary key,
+ etabId LONG,
+ userId LONG,
+ nomPlan VARCHAR(75) null,
+ type_ INTEGER,
+ isShare BOOLEAN,
+ isDiffuse BOOLEAN
+);
+
+create table cantine_CantinePlanAlimentaireConfiguration (
+ cantinePlanAlimentaireConfigurationId LONG not null primary key,
+ planAlimentaireId LONG,
+ cantineDatePlanAlimentaireId LONG,
+ typeRecette VARCHAR(75) null,
+ categorieRecetteId LONG
+);
+
+create table cantine_CantineRecette (
+ recetteId LONG not null primary key,
+ userId LONG,
+ typeRecette VARCHAR(75) null,
+ categorieRecetteId LONG,
+ titreRecette VARCHAR(75) null,
+ effectif INTEGER,
+ methode VARCHAR(75) null,
+ haccp VARCHAR(75) null,
+ isSuggestToDepartement BOOLEAN,
+ imageId LONG
+);
+
+create table cantine_CantineRecetteGEMRCN (
+ cantineRecetteGEMRCNId LONG not null primary key,
+ recetteId LONG,
+ gemrcnId LONG
+);
\ No newline at end of file