任务三
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
|
||||
package model
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
const TableNameSysAutoCodePackage = "sys_auto_code_packages"
|
||||
|
||||
// SysAutoCodePackage mapped from table <sys_auto_code_packages>
|
||||
type SysAutoCodePackage struct {
|
||||
ID int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"`
|
||||
CreatedAt *time.Time `gorm:"column:created_at;type:datetime(3)" json:"created_at"`
|
||||
UpdatedAt *time.Time `gorm:"column:updated_at;type:datetime(3)" json:"updated_at"`
|
||||
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime(3);index:idx_sys_auto_code_packages_deleted_at,priority:1" json:"deleted_at"`
|
||||
Desc *string `gorm:"column:desc;type:varchar(191);comment:描述" json:"desc"` // 描述
|
||||
Label *string `gorm:"column:label;type:varchar(191);comment:展示名" json:"label"` // 展示名
|
||||
Template *string `gorm:"column:template;type:varchar(191);comment:模版" json:"template"` // 模版
|
||||
PackageName *string `gorm:"column:package_name;type:varchar(191);comment:包名" json:"package_name"` // 包名
|
||||
Module *string `gorm:"column:module;type:varchar(191)" json:"module"`
|
||||
}
|
||||
|
||||
// TableName SysAutoCodePackage's table name
|
||||
func (*SysAutoCodePackage) TableName() string {
|
||||
return TableNameSysAutoCodePackage
|
||||
}
|
||||
Reference in New Issue
Block a user