16 lines
323 B
Go
16 lines
323 B
Go
package nstructures
|
|
|
|
import (
|
|
"git.sendico.io/tech/sxchnge/bff/pkg/db/storable"
|
|
"git.sendico.io/tech/sxchnge/bff/pkg/model"
|
|
)
|
|
|
|
type RoleAssignment struct {
|
|
storable.Base `bson:",inline" json:",inline"`
|
|
model.Role `bson:"role" json:"role"`
|
|
}
|
|
|
|
func (*RoleAssignment) Collection() string {
|
|
return "role_assignments"
|
|
}
|