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

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