docs-03-table-template.md 565 Bytes

{{table_name}} — {{purpose}}

字段

字段 类型 Nullable 默认 业务含义

{{PK_CONVENTION}} {{TENANT_COLS}} | tCreateDate | datetime | 否 | 当前时间 | 创建时间(标准列) | {{#each columns}} | {{name}} | {{type}} | {{nullable}} | {{default}} | {{business_meaning}} | {{/each}}

索引

{{#each indexes}}

  • {{name}} ({{type}}): {{columns}} {{/each}}

外键

{{#each foreign_keys}}

  • {{name}}: {{from_col}} → {{to_table}}.{{to_col}} ({{on_delete}}) {{/each}}

业务注记

{{notes}}