You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
384 B

// 自动生成模板Business
package model
import (
"pure-admin/global"
)
// 如果含有time.Time 请自行import time包
type Business struct {
global.MG_MODEL
Name string `json:"name" form:"" gorm:"size:20"`
Email string `json:"email" form:"" gorm:"size:100"`
Phone string `json:"phone" form:"" gorm:"size:20"`
}
func (Business) TableName() string {
return "business"
}