Generating commit message...

This commit is contained in:
2026-03-24 16:23:04 +08:00
parent 1d6eb7a03b
commit 19d62ab927
4 changed files with 15 additions and 16 deletions

View File

@@ -8,21 +8,18 @@ import (
type File struct {
beans.SQLBaseDO `orm:",inherit"` // 嵌入基础字段Id, Bid, Creator, CreatedAt, Updater, UpdatedAt, Deleter, DeletedAt, IsDeleted
// 业务字段
TenantId uint64 `orm:"tenant_id" json:"tenantId"` // 租户ID
FileURL string `orm:"file_url" json:"fileURL"` // 文件URL
FileURL string `orm:"file_url" json:"fileURL"` // 文件URL
FileSize int `orm:"file_size" json:"fileSize"`
}
type fileCol struct {
beans.SQLBaseCol
TenantId string
FileURL string
FileSize string
}
var FileCol = fileCol{
SQLBaseCol: beans.DefSQLBaseCol,
TenantId: "tenant_id",
FileURL: "file_url",
FileSize: "file_size",
}