15 lines
286 B
Go
15 lines
286 B
Go
package model
|
|
|
|
import (
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
//User 用户模型
|
|
type UserInvited struct {
|
|
gorm.Model
|
|
ID int32 `gorm:"not null"`
|
|
UserId int32 `gorm:"type:int not null"`
|
|
InvitedUserId int32 `gorm:"type:int not null"`
|
|
Count int32 `gorm:"type:int not null"`
|
|
}
|