apisub.plantuml 410 Bytes
Newer Older
Stephane Crozat's avatar
Stephane Crozat committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/** CTRL+ALT+P to view **/

@startuml
hide circle

class Student {
  utclogin : text {key}
  mail : mail {key}
  surname : text
  firstname : text
}

class Api {
  code : integer {key}
  name : text
  year : year
  semester : H|E
18 19
  dbegin : date
  dend : date
Stephane Crozat's avatar
Stephane Crozat committed
20 21 22 23 24 25 26 27 28 29 30
}
note right of Api : (name,year,semester) key

Student "0..n" - "0..n" Api
(Student, Api) . Subscribe

class Subscribe {
  subdate : date
}

@enduml