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 "srm_supplier_type"
| }
|
|