student_and_identity.go 423 B

123456789101112131415
  1. package example
  2. import (
  3. "git.sxidc.com/go-framework/baize/convenient/gwtools/relation/many2many"
  4. "git.sxidc.com/go-framework/baize/framework/gateway"
  5. )
  6. func studentAndIdentityGateway(builder *gateway.Builder) {
  7. many2many.BindSimple(builder, &many2many.Simple{
  8. ServiceVersionedUrl: serviceVersionedUrl,
  9. ServiceShortName: "example",
  10. LeftDomainCamelName: "Student",
  11. RightDomainCamelName: "Identity",
  12. })
  13. }