Skip to content

Commit

Permalink
feat: add diagram for ImportationPackage.md
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnacioMaestroTecnalia committed Nov 29, 2023
1 parent 67d94c9 commit 2de29e3
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/DomainModelDiagram/DomainModelDiagram.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
[Activity package](ActivityPackage/ActivityPackage.md)

[Charge package](ChargePackage/ChargePackage.md)

[Importation package](ImportationPackage/ImportationPackage.md)
Binary file modified doc/DomainModelDiagram/DomainModelDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## Importation package
![](ImportationPackage.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 66 additions & 0 deletions doc/DomainModelDiagram/ImportationPackage/ImportationPackage.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
@startuml
abstract class Importation {
dateTime : dateTime
file : File
}
class CustodyImportation {
custodyEdition: CustodyEdition
}
class CustodyImportationRow {
row: int
}
class CustodyChildImportData {
days_attended: int
}
class HolderImportData {
iban: str
}
class ChildWithSurnamesImportData {
surnames: str
}
class ChildImportData {
name: str
birth_year: Optional[int]
level: Optional[LevelConstants]
}
class ParentImportData {
holder_name_and_surnames: str
phone_number: str
email: str
}
abstract class CustodyImportationAction
abstract class CustodyImportationActionFamily
abstract class CustodyImportationActionChild
abstract class CustodyImportationActionHolder
class UseFamily
class CreateFamily
class UseChild
class CreateChild
class UseHolder
class CreateHolder
class CreateCustodyRegistration

Importation <|-- CustodyImportation: ""

CustodyImportation *-- "0..N" CustodyImportationRow: ""

CustodyImportationRow -- CustodyChildImportData: ""
CustodyImportationRow -- "0..1" HolderImportData: ""
CustodyImportationRow *-- "0..N" CustodyImportationAction: ""

CustodyChildImportData -- ChildWithSurnamesImportData: ""
ChildWithSurnamesImportData -- ChildImportData: ""

HolderImportData -- ParentImportData: ""

CustodyImportationAction <|-- CustodyImportationActionFamily: ""
CustodyImportationAction <|-- CreateCustodyRegistration: ""
CustodyImportationAction <|-- CustodyImportationActionChild: ""
CustodyImportationAction <|-- CustodyImportationActionHolder: ""
CustodyImportationActionFamily <|-- UseFamily: ""
CustodyImportationActionFamily <|-- CreateFamily: ""
CustodyImportationActionChild <|-- UseChild: ""
CustodyImportationActionChild <|-- CreateChild: ""
CustodyImportationActionHolder <|-- UseHolder: ""
CustodyImportationActionHolder <|-- CreateHolder: ""
@enduml

0 comments on commit 2de29e3

Please sign in to comment.