Files
oss/model/entity/tenant_oss_total.go
2026-06-10 16:30:36 +08:00

26 lines
647 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 (
"gitea.redpowerfuture.com/red-future/common/beans"
)
// TenantOssTotal 租户储存服务总计实体
type TenantOssTotal struct {
beans.SQLBaseDO `orm:",inherit"` // 嵌入基础字段Id, Creator, CreatedAt, Updater, UpdatedAt, TenantId, IsDeleted
// 基础信息
UsedOssSize int `orm:"used_oss_size" json:"usedOssSize"`
TotalOssSize int `orm:"total_oss_size" json:"totalOssSize"`
}
type tenantOssCol struct {
beans.SQLBaseCol
UsedOssSize string
TotalOssSize string
}
var TenantOssCol = tenantOssCol{
SQLBaseCol: beans.DefSQLBaseCol,
UsedOssSize: "used_oss_size",
TotalOssSize: "total_oss_size",
}