18 lines
694 B
Go
18 lines
694 B
Go
package model
|
|
|
|
import "time"
|
|
|
|
// RechargeAgencySellerInfo stores H5-only profile fields for recharge agency sellers.
|
|
type RechargeAgencySellerInfo struct {
|
|
ID int64 `gorm:"column:id;primaryKey;autoIncrement"`
|
|
SysOrigin string `gorm:"column:sys_origin;size:32;uniqueIndex:uk_recharge_agency_seller_info_user,priority:1"`
|
|
UserID int64 `gorm:"column:user_id;uniqueIndex:uk_recharge_agency_seller_info_user,priority:2"`
|
|
Whatsapp string `gorm:"column:whatsapp;size:64"`
|
|
CreateTime time.Time `gorm:"column:create_time"`
|
|
UpdateTime time.Time `gorm:"column:update_time"`
|
|
}
|
|
|
|
func (RechargeAgencySellerInfo) TableName() string {
|
|
return "recharge_agency_seller_info"
|
|
}
|