I am trying to design DB tables with PlantUML class diagrams. But I face a weird behaviour - the order of of fields is not respected. How to show the fields in the original order?
This is a minimum reproducible scenario, the changes are bigger in other classes. PlantUML also draws separator lines randomly.
@startuml
class report_document_types {
* id: VARCHAR(20)
* name: VARCHAR(255)
* is_active: CHAR(1)
* updated_by: VARCHAR(100)
* update_ts: DATE
}
@enduml
()
as methods so probably either use{field}
or in stead of()
e.g.[]
(see also plantuml.com/class-diagram