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.
18 lines
391 B
18 lines
391 B
package goods
|
|
|
|
import "time"
|
|
|
|
const (
|
|
RecookGoodsInviteStatusNone = 1 // 未使用
|
|
RecookGoodsInviteStatusUsed = 2 // 已使用
|
|
)
|
|
|
|
type RecookGoodsInvite struct {
|
|
Id uint `gorm:"primaryKey"`
|
|
InviterCode string // 邀请的code
|
|
Status uint // 验证码状态 1=未使用 2=已使用
|
|
UseUserId uint // 使用用户id
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
}
|