student_and_family.go 413 B

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