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.
|
package goods
|
|
|
|
func (Service) TableName() string {
|
|
return "service"
|
|
}
|
|
|
|
// Service 结构体表示服务信息
|
|
type Service struct {
|
|
ID int `json:"id"` // 服务ID
|
|
Name string `json:"name"` // 服务名称
|
|
Image string `json:"image"` // 服务图片
|
|
Description string `json:"description"` // 服务描述
|
|
}
|