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
404 B

1 month ago
package model
/*
*/
type Merchant struct {
Id int64 `gorm:"primary_key;column:id" json:"Id"` // 商户ID
Name string `gorm:"column:name" json:"name"` // 商家名称
AdminUid int64 `gorm:"column:admin_uid" json:"adminUid"` // 管理员UID
ApiKey string `gorm:"column:api_key" json:"apiKey"` // 密钥
}
func (Merchant) TableName() string {
return "merchant"
}