18 lines
617 B
Go
18 lines
617 B
Go
package business
|
|
|
|
import "time"
|
|
|
|
type bindingPO struct {
|
|
UserID uint `gorm:"primaryKey;autoIncrement:false"`
|
|
SourceDB string `gorm:"column:source_db;primaryKey;size:50"`
|
|
PlatformBusierID uint64 `gorm:"primaryKey;autoIncrement:false"`
|
|
PlatformBusierAccount string `gorm:"size:100"`
|
|
Status string `gorm:"size:1;index"`
|
|
RejectReason *string `gorm:"size:500"`
|
|
CreateTime time.Time
|
|
ReviewTime *time.Time
|
|
ReviewAccount *string `gorm:"size:100"`
|
|
}
|
|
|
|
func (bindingPO) TableName() string { return "sys_user_bind_platform" }
|