生成表结构、
This commit is contained in:
28
internal/model/do/merchants.go
Normal file
28
internal/model/do/merchants.go
Normal file
@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Merchants is the golang structure of table merchants for DAO operations like Where/Data.
|
||||
type Merchants struct {
|
||||
g.Meta `orm:"table:merchants, do:true"`
|
||||
Id interface{} // 商户ID
|
||||
Name interface{} // 商户名称
|
||||
BusinessLicense interface{} // 营业执照号
|
||||
LegalPerson interface{} // 法人姓名
|
||||
ContactName interface{} // 联系人姓名
|
||||
ContactPhone interface{} // 联系人电话
|
||||
ContactEmail interface{} // 联系人邮箱
|
||||
Address interface{} // 商户地址
|
||||
Status interface{} // 状态:1=正常,2=禁用,3=待审核
|
||||
ExpireAt *gtime.Time // 服务到期时间
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
Reference in New Issue
Block a user