Files
oss/model/entity/tenant_oss_total.go
2026-02-24 16:49:31 +08:00

21 lines
566 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package entity
import (
"oss/consts"
"gitea.com/red-future/common/beans"
)
// TenantOssTotal 租户储存服务总计实体
type TenantOssTotal struct {
beans.MongoBaseDO `bson:",inline"` // 嵌入基础字段Id, Creator, CreatedAt, Updater, UpdatedAt, TenantId, IsDeleted
// 基础信息
UsedOssSize int `bson:"usedOssSize" json:"usedOssSize"`
TotalOssSize int `bson:"totalOssSize" json:"totalOssSize"`
}
// CollectionName 租户储存服务总计集合名称
func (TenantOssTotal) CollectionName() string {
return consts.TenantOssTotalCollection
}