| 123456789101112131415161718192021222324 |
- package permission_group
- import (
- "git.sxidc.com/go-framework/baize/convenient/entity_crud"
- "git.sxidc.com/go-framework/baize/framework/binding"
- )
- // Simple Bind参数
- type Simple struct {
- // schema
- Schema string
- }
- func (simple *Simple) Bind(binder *binding.Binder) {
- entity_crud.BindSimple(binder, &entity_crud.Simple[Info]{
- Entity: &Entity{},
- Schema: simple.Schema,
- CreateJsonBody: &CreatePermissionGroupJsonBody{},
- DeleteQueryParams: &DeletePermissionGroupQueryParams{},
- UpdateJsonBody: &UpdatePermissionGroupJsonBody{},
- QueryQueryParams: &GetPermissionGroupsQueryParams{},
- GetByIDQueryParams: &GetPermissionGroupQueryParams{},
- })
- }
|