// 自动生成模板UsersTree
package user

import (
	"time"

	"courseSign/server/global"
)

// UsersTree 结构体
type UsersTree struct {
      global.GVA_MODEL
      Path  string `json:"path" form:"path" gorm:"column:path;comment:关系全路径;"`
      InviterId  *int `json:"inviterId" form:"inviterId" gorm:"column:inviter_id;comment:上级;"`
      TopId  *int `json:"topId" form:"topId" gorm:"column:top_id;comment:顶层;"`
      UserId  *int `json:"userId" form:"userId" gorm:"column:user_id;unique;comment:用户;"`
      CreateTime  *time.Time `json:"createTime" form:"createTime" gorm:"column:create_time;comment:;"`
}


// TableName UsersTree 表名
func (UsersTree) TableName() string {
  return "users_tree"
}

