fix
wangpengfei
2023-08-30 88324f3d47dab99da5b4bd9422e50b63b97c242c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 自动生成模板SupplierType
package test
 
import (
    "srm/global"
)
 
// SupplierType 结构体
type SupplierType struct {
    global.GVA_MODEL
    Name string `json:"name" form:"name" gorm:"column:name;comment:;size:255;"`
}
 
// TableName SupplierType 表名
func (SupplierType) TableName() string {
    return "supplier_type"
}