18 lines
496 B
Go
18 lines
496 B
Go
package dto
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
"oss/model/entity"
|
|
)
|
|
|
|
// GetByTenantIdReq 根据租户id获取存储总量请求
|
|
type GetByTenantIdReq struct {
|
|
g.Meta `path:"/GetOneByTenantId" method:"get" tags:"租户存储总量管理" summary:"获取存储总量" dc:"获取存储总量"`
|
|
TenantId interface{} `json:"tenantId" v:"required#租户id不能为空"`
|
|
}
|
|
|
|
// GetByTenantIdRes 根据租户id获取存储总量响应
|
|
type GetByTenantIdRes struct {
|
|
*entity.TenantOssTotal
|
|
}
|