Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
na17p2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tom Henrion
na17p2
Commits
22224d29
Commit
22224d29
authored
Jun 08, 2020
by
Tom HENRION
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Third Evaluation
parent
262e6c0d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
307 additions
and
117 deletions
+307
-117
MCD.puml
MCD.puml
+5
-5
MLD.txt
MLD.txt
+41
-0
script.sql
script.sql
+261
-112
No files found.
MCD.puml
View file @
22224d29
...
...
@@ -5,7 +5,7 @@ Package Terrain {
class Parcelle {
Numéro : integer
Etat : {Plantation, arrachage}
Surface : integer
(m²)
Surface : integer
Exposition : [1 .. 10]
}
...
...
@@ -25,7 +25,7 @@ class Traitement {
Description : string
Cible : string
Prix : integer
Duree de traitement : integer
(jour)
Duree de traitement : integer
}
Parcelle "*"--"1" Type_de_sol:Possède
...
...
@@ -85,14 +85,14 @@ class Critere_Qualitatif {
Description texture : string
Description globale : string
Notation : [1 .. 10]
Alcool :
integer
Année_mise_en_bouteille :
integer
Alcool :
float
Année_mise_en_bouteille :
Date
Lieu : string
}
class Conditionnement {
Nom : string
Contenant : Float
(Litre)
Contenant : Float
}
class Circuit_Vente {
...
...
MLD.txt
View file @
22224d29
...
...
@@ -5,41 +5,67 @@ Parcelle(#Numero : integer, Surface : float, Exposition : integer, Etat : {Plant
Exposition NOT NULL entre 1 et 10
type_sol NOT NULL
DF pour Parcelle :
- Numero -> Surface, Exposition, Etat, Cépage, type_sol, culture, récolte, taille
- Cépage -> Etat
- récolte -> Etat
- taille -> Etat
Cépage(#Nom : string, Couleur_fruit : string, Duree_germinaison : integer)
Nom NOT NULL
Couleur_fruit NOT NULL
Duree_germinaison > 0 NOT NULL
DF pour Cépage :
- Nom -> Couleur_fruit, Duree_germinaison
Type_de_sol (#Nom : string, Irrigation : string)
Irrigation NOT NULL
parcelle NOT NULL
DF pour Type_de_sol :
- Nom -> Irrigation
Traitement (#Nom : string, Description : string, Cible : string, Prix : float, Duree_traitement : integer)
Description NOT NULL
Cible NOT NULL
Prix >0 NOT NULL
Duree_traitement > 0 NOT NULL
DF pour Traitement :
- Nom -> Irrigation, Description, Cible, Prix, Duree_traitement
Traite (#parcelle=>Parcelle, #vin=>Vin)
Mode_de_culture (#Type : {Désherbées en plein, enherbées et tondues, ou cultivées}, Description : string)
Type NOT NULL
Description NOT NULL
DF pour Mode_de_culture :
- Type -> Irrigation, Description
Méthode_de_récolte (#Methode de recolte : {Manuel, Mecanique}, Prix : float)
Methode de recolte NOT NULL
Prix >0 NOT NULL
DF pour Méthode_de_récolte :
- Methode de recolte -> Prix
Mode de taille (#Nom : string, description : string)
Nom NOT NULL
Description NOT NULL
DF pour Mode de taille :
- Mode de taille -> description
Vin (#Id : integer, Nom : string, Prix:float, conditionnement=>Conditionnement, critère=>Critère_qualitatif, circuit=>Circuit_Vente)
Id une clé artificielle
Nom NOT NULL
Prix >0 NOT NULL
DF pour Vin :
- Id -> Nom, Prix, conditionnement, critère, circuit
Critère_Qualitatif (#Id : integer, couleur_robe : string, Decription_saveur : string, Decription_texture : string, Decription_global : string, Notation : integer, alcool : integer, date : DATE, Lieu : string)
Id une clé artificielle
couleur_robe NOT NULL
...
...
@@ -51,16 +77,25 @@ Critère_Qualitatif (#Id : integer, couleur_robe : string, Decription_saveur : s
date NOT NULL
Lieu NOT NULL
DF pour Critère_Qualitatif :
- Id -> couleur_robe, Decription_saveur, Decription_texture, Decription_global, Notation, alcool, date, Lieu
Conditionnement (#Id : integer, Nom : string, Contenant : integer)
Id une clé artificielle
Nom NOT NULL
Contenant >0 NOT NULL (en litre)
DF pour Conditionnement :
- Id -> Nom, Contenant
Circuit_Vente (#Id : integer, Nom : string, Nombre_bouteille_vendue : integer)
Id une clé artificielle
Nom NOT NULL
Nombre_bouteille_vendue >0 NOT NULL
DF pour Circuit_Vente :
- Id -> Nom, Nombre_bouteille_vendue
Compose(#parcelle=>Parcelle, #vin=>Vin)
Climat (#Id : integer, Date_début : DATE, Date_fin : DATE, Intensité : integer)
...
...
@@ -69,11 +104,17 @@ Climat (#Id : integer, Date_début : DATE, Date_fin : DATE, Intensité : integer
Date_fin NOT NULL
Intensité >0 NOT NULL
DF pour Climat :
- Id -> Date_début, Date_fin, Intensité
Type_évènement (#Id : integer, Nom : string, Description : string)
avec id une clé artificielle
Nom NOT NULL
Description NOT NULL
DF pour Climat :
- Id -> Nom, Description
Impacte (#climat=>Climat, #arcelle=>Parcelle)
Possède_évènement(#type=>Type_évènement, #événement=>Climat)
...
...
script.sql
View file @
22224d29
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment