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.

17 lines
379 B

6 months ago
// 自动生成模板Business
package model
import "bkb-seller/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"
}