Files
oss/model/entity/tenant_oss_total.go

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