From 8e82851b6567b1962d1f58ae5edbcb44c92e95c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=96=8C?= <259278618@qq.com> Date: Wed, 31 Dec 2025 11:19:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BF=AE=E6=94=B9=E5=85=AC?= =?UTF-8?q?=E5=85=B1beans=E5=8C=85=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/entity/file.go | 5 +++-- model/entity/tenant_oss_total.go | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/model/entity/file.go b/model/entity/file.go index cf0cc10..2f81886 100644 --- a/model/entity/file.go +++ b/model/entity/file.go @@ -1,13 +1,14 @@ package entity import ( - "gitee.com/red-future---jilin-g/common/do" "oss/consts" + + "gitee.com/red-future---jilin-g/common/beans" ) // File 存储文件实体 type File struct { - do.MongoBaseDO `bson:",inline"` // 嵌入基础字段:Id, Creator, CreatedAt, Updater, UpdatedAt, TenantId, IsDeleted + beans.MongoBaseDO `bson:",inline"` // 嵌入基础字段:Id, Creator, CreatedAt, Updater, UpdatedAt, TenantId, IsDeleted // 基础信息 FileURL string `bson:"fileURL" json:"fileURL"` // 图URL FileSize int `bson:"fileSize" json:"fileSize"` diff --git a/model/entity/tenant_oss_total.go b/model/entity/tenant_oss_total.go index 7790e41..db6c4d0 100644 --- a/model/entity/tenant_oss_total.go +++ b/model/entity/tenant_oss_total.go @@ -1,13 +1,14 @@ package entity import ( - "gitee.com/red-future---jilin-g/common/do" "oss/consts" + + "gitee.com/red-future---jilin-g/common/beans" ) // TenantOssTotal 租户储存服务总计实体 type TenantOssTotal struct { - do.MongoBaseDO `bson:",inline"` // 嵌入基础字段:Id, Creator, CreatedAt, Updater, UpdatedAt, TenantId, IsDeleted + beans.MongoBaseDO `bson:",inline"` // 嵌入基础字段:Id, Creator, CreatedAt, Updater, UpdatedAt, TenantId, IsDeleted // 基础信息 UsedOssSize int `bson:"usedOssSize" json:"usedOssSize"` TotalOssSize int `bson:"totalOssSize" json:"totalOssSize"`