📄 table.vm
字号:
<a name="$table.Name"/><h2>$table.Name</h2>$!table.Description<p/><table border="1" cellspacing="0"> <tr> <th class="normalFont" bgcolor="#CCCCCC">Name</th> <th class="normalFont" bgcolor="#CCCCCC">Type</th> <th class="normalFont" bgcolor="#CCCCCC">Size</th> <th class="normalFont" bgcolor="#CCCCCC">Default</th> <th class="normalFont" bgcolor="#CCCCCC">JavaName</th> <th class="normalFont" bgcolor="#CCCCCC">PK</th> <th class="normalFont" bgcolor="#CCCCCC">FK</th> <th class="normalFont" bgcolor="#CCCCCC">not null</th> <th class="normalFont" bgcolor="#CCCCCC">Description</th> </tr>#foreach ($col in $table.Columns) <tr> <td class="normalFont" id="$table.Name$col.Name">$col.Name</td> <td class="normalFont">$col.Type</td> <td class="normalFont">#if ($col.printSize() && $col.printSize().length() > 0) $col.printSize() #else #end</td> <td class="normalFont">#if ($col.DefaultValue) $col.DefaultValue#else #end</td> <td class="normalFont">$col.JavaName</td> <td class="normalFont"><center> #if ($col.isPrimaryKey()==true)X#else #end </center></td> <td class="normalFont"><center> #if ($col.isForeignKey()==true)X#else #end </center></td> <td class="normalFont"><center> #if ($col.isNotNull()==true)X#else #end </center></td> <td class="normalFont">#if ($col.Description) $col.Description#else #end</td> </tr>#end</table><script>#foreach ( $fk in $table.ForeignKeys )if( document.getElementById ){var col = document.getElementById("$table.Name$fk.LocalColumnNames");col.style.backgroundColor = "$docHtmlFkColor";col.title="Foreignkey from $fk.ForeignTableName.$fk.ForeignColumnNames";}#end</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -