feat: update
This commit is contained in:
20
backend/app/http/super/dto/tenant.go
Normal file
20
backend/app/http/super/dto/tenant.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package dto
|
||||
|
||||
import (
|
||||
"quyun/v2/app/requests"
|
||||
"quyun/v2/database/models"
|
||||
)
|
||||
|
||||
type TenantFilter struct {
|
||||
requests.Pagination
|
||||
requests.SortQueryFilter
|
||||
|
||||
Name *string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
type TenantItem struct {
|
||||
*models.Tenant
|
||||
|
||||
UserCount int64
|
||||
UserBalance int64
|
||||
}
|
||||
Reference in New Issue
Block a user