Last active
August 13, 2020 00:46
-
-
Save seagoj/39714c609799817ec691b078e3873ae8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
' extend class for Table' | |
!define Table(name,desc) class name as "desc" << (T,#FFAAAA) >> | |
' primary key: bold | |
!define primary_key(x) <b>x</b> | |
' unique key: grren text' | |
!define unique_key(x) <color:green>x</color> | |
' not null underlined | |
!define not_null(x) <u>x</u> | |
' default: italic``' | |
!define default(x) <i>x</i> | |
' other tags available: | |
' <back:COLOR></color>, where color is a color name or html color code | |
' (#FFAACC) | |
' see: http://plantuml.com/classes.html#More | |
hide methods | |
hide stereotypes | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment