123456789101112131415 |
- package example
- import (
- "git.sxidc.com/go-framework/baize/convenient/gwtools/relation/one2many"
- "git.sxidc.com/go-framework/baize/framework/gateway"
- )
- func classAndStudentGateway(builder *gateway.Builder) {
- one2many.BindSimple(builder, &one2many.Simple{
- ServiceVersionedUrl: serviceVersionedUrl,
- ServiceShortName: "example",
- LeftDomainCamelName: "Class",
- RightDomainCamelName: "Student",
- })
- }
|