Skip to main content

Module: template/mermaid/entity

Variables

default

Const default: "\"<%= it.entity.dbName %>(<%= it.entity.name %>)\" {\n<% it.entity.columns.forEach((column) => { %>\n <%= column.columnTypeWithLength %> <%= column.name -%>\n <% if (column.attributeKey != null && column.attributeKey.length > 0) { %>\n <%= column.attributeKey.join(',') -%>\n <% } %>\n <% if (column.comment != null && column.comment != '') { %>\n \"<%= column.comment -%>\"<% -%>\n <% } %>\n\n<% }) %>\n}\n"

Defined in

template/mermaid/entity.ts:1