# diagramme de classe du module "docStore"

@startuml

title Diagramme de classe du module "docStore"


package "PersonBundle" {
   class Person
   class Center
   class PersonDocument
}

package "DocStoreBundle" {
    Document "many" --- "1" DocumentCategory
}

Document <|-- "herite" PersonDocument

class "Document" {
    - int id
    - varchar_150 title
    - text description
    - ArrayCollection_DocumentCategory categories
    - varchar_150 content #link to openstack
    - Territoire territoire
    - Service service
    - User user
    - DateTime date # Creation date
}


class "DocumentCategory" {
    .. Primary Key ..
    - varchar_150 bundle_id
    - int internal_bundle_id
    ==
    - json_array name
    - ArrayCollection_Document documents
}

class "PersonDocument" {
   - Person person
}

@enduml
