relations.go 408 B

1234567891011121314151617
  1. package relations
  2. import (
  3. "git.sxidc.com/go-framework/baize/framework/binding"
  4. )
  5. // Simple Bind参数
  6. type Simple struct {
  7. // schema
  8. Schema string
  9. }
  10. func (simple *Simple) Bind(binder *binding.Binder) {
  11. (&SimplePermissionGroupAndPermission{Schema: simple.Schema}).Bind(binder)
  12. (&SimpleRoleAndPermission{Schema: simple.Schema}).Bind(binder)
  13. (&SimpleUserAndRole{Schema: simple.Schema}).Bind(binder)
  14. }