github.com/SupenBysz/gf-admin-community@v0.7.4/sys_model/sys_do/sys_invite.go (about)

     1  // =================================================================================
     2  // Code generated by GoFrame CLI tool. DO NOT EDIT.
     3  // =================================================================================
     4  
     5  package sys_do
     6  
     7  import (
     8  	"github.com/gogf/gf/v2/frame/g"
     9  	"github.com/gogf/gf/v2/os/gtime"
    10  )
    11  
    12  // SysInvite is the golang structure of table sys_invite for DAO operations like Where/Data.
    13  type SysInvite struct {
    14  	g.Meta         `orm:"table:sys_invite, do:true"`
    15  	Id             interface{} // ID
    16  	UserId         interface{} // 用户ID, 也就是邀约人ID
    17  	Value          interface{} // 邀约码背后的关联业务Json数据,
    18  	ExpireAt       *gtime.Time // 邀约码的过期失效
    19  	ActivateNumber interface{} // 邀约码的激活次数限制
    20  	State          interface{} // 状态: 0失效、1正常
    21  	Type           interface{} // 类型: 1注册、2加入团队、4加入角色 (复合类型)
    22  	CreatedAt      *gtime.Time //
    23  }