role_adapter.go 387 字节
package adapter

import (
	"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/domain"
)

//type RoleContainUser struct {
//	RoleId    int64  `json:"roleId,string"`
//	UserId    int64  `json:"userId,string"`
//	UserName  string `json:"userName"`
//	UserEmail string `json:"userEmail"`
//}

type RoleUserAdapter struct {
	domain.Role
	Users []*domain.RoleContainUser `json:"users"`
}