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.
28 lines
1.4 KiB
28 lines
1.4 KiB
package user
|
|
|
|
//type RecookUserRbacRole struct {
|
|
// ID int `gorm:"column:id" json:"id"`
|
|
// UserLevel int8 `gorm:"column:user_level" json:"roleLevel"`
|
|
// RoleLevel int `gorm:"column:role_level" json:"userLevel"`
|
|
// UserLevelName string `gorm:"column:user_level_name" json:"userLevelName"`
|
|
// SelfPurchase int8 `gorm:"column:self_purchase" json:"selfPurchase"`
|
|
// Distribution int8 `gorm:"column:distribution" json:"distribution"`
|
|
// TeamPromotion int8 `gorm:"column:team_promotion" json:"teamPromotion"`
|
|
// Introduction int8 `gorm:"column:introduction" json:"introduction"`
|
|
// UpgradeAssess int8 `gorm:"column:upgrade_assess" json:"upgradeAssess"`
|
|
// GradingAssess int8 `gorm:"column:grading_assess" json:"gradingAssess"`
|
|
// Invitation int8 `gorm:"column:invitation" json:"invitation"`
|
|
// GivenCode int8 `gorm:"column:given_code" json:"givenCode"`
|
|
// FirstOrderBenefit int8 `gorm:"column:first_order_benefit" json:"firstOrderBenefit"`
|
|
// InviteUser int8 `gorm:"column:invite_user" json:"invite_user" form:"invite_user"`
|
|
// InvitRole int `gorm:"column:invit_role" json:"invit_role" form:"invit_role"`
|
|
//}
|
|
//
|
|
//const HavePower = 2
|
|
//const NoPower = 1
|
|
//
|
|
//// TableName sets the insert table name for this struct type
|
|
//func (r *RecookUserRbacRole) TableName() string {
|
|
// return "recook_user_rbac_role"
|
|
//}
|