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

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