互动
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.

21 lines
1.1 KiB

package models
import (
"time"
)
//会务邀请码
type SeminarInviteCode struct {
Id int64 `json:"id"`
SeminarActivityId int64 `json:"seminar_activity_id" description:"会话活动的id"`
Comment string `json:"comment" description:"邀请码的备注"`
InviteCode string `json:"invite_code" description:"邀请码 [规则暂未定义]"`
Prefix string `json:"prefix" description:"邀请码 前缀"`
CodeBind int64 `json:"code_bind" description:"邀请码_绑定用户id 初始为0"`
CodeStartTime time.Time `json:"code_start_time" description:"邀请码的开始时间"`
CodeEndTime time.Time `json:"code_end_time" description:"邀请码的结束时间"`
IsExpire string `json:"is_expire" description:"是否已经过期 [已过期|未过期]"`
IsDelete bool `json:"is_delete" xorm:"default(0)" description:"是否删除"`
CreatedAt time.Time `json:"-" xorm:"created" description:"创建时间"`
UpdatedAt time.Time `json:"-" xorm:"updated" description:"更新时间"`
}