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