This commit is contained in:
lu7213 committed 2025-12-02 23:07:47 +08:00
1 parent 81eca8933a
commit 345f906c35
540 files changed
+494222 -90

No files matched your search

@@ -0,0 +1,16 @@
package mdb
// ${businessName} ${functionName}
type ${capClassName} struct {
#foreach ($column in $columns)
#if($column.columnName != 'id' && $column.columnName != 'created_at' && $column.columnName != 'updated_at' && $column.columnName != 'deleted_at' )
$column.capJavaField $column.goType `gorm:"column:$column.columnName" json:"$column.columnName"` // $column.columnComment
#end
#end
BaseModel
}
// TableName sets the insert table name for this struct type
func (w *${capClassName}) TableName() string {
return "${tableName}"
}