chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)

This commit is contained in:
MiFaZhan
2026-11-02 13:27:59 +08:00
1250 changed files with 154111 additions and 0 deletions
@@ -0,0 +1,46 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/os/gtime"
)
// TResourceBatchDownload is the golang structure for table t_resource_batch_download.
type TResourceBatchDownload struct {
Id int64 `json:"id" orm:"id" description:"主键ID"`
BatchNo string `json:"batchNo" orm:"batch_no" description:"批次编号(全局唯一)"`
TaskName string `json:"taskName" orm:"task_name" description:"任务名称"`
ResourceType int `json:"resourceType" orm:"resource_type" description:"资源类型 枚举"`
ExportScene int `json:"exportScene" orm:"export_scene" description:"导出场景 枚举"`
QueryParams *gjson.Json `json:"queryParams" orm:"query_params" description:"导出查询条件快照"`
TotalCount int `json:"totalCount" orm:"total_count" description:"预计导出总条数"`
SuccessCount int `json:"successCount" orm:"success_count" description:"已成功导出条数"`
FailCount int `json:"failCount" orm:"fail_count" description:"失败条数"`
DownloadStatus int `json:"downloadStatus" orm:"download_status" description:"下载状态 枚举"`
OssId int64 `json:"ossId" orm:"oss_id" description:"OSS文件ID"`
FileName string `json:"fileName" orm:"file_name" description:"导出文件名"`
FileExt string `json:"fileExt" orm:"file_ext" description:"文件扩展名"`
FileUrl string `json:"fileUrl" orm:"file_url" description:"文件访问地址"`
FilePath string `json:"filePath" orm:"file_path" description:"服务器本地路径"`
FileSize int64 `json:"fileSize" orm:"file_size" description:"文件大小(字节)"`
FileMd5 string `json:"fileMd5" orm:"file_md5" description:"文件MD5"`
DownloadCount int `json:"downloadCount" orm:"download_count" description:"下载次数"`
LastDownloadTime *gtime.Time `json:"lastDownloadTime" orm:"last_download_time" description:"最后下载时间"`
MaxDownloadCount int `json:"maxDownloadCount" orm:"max_download_count" description:"最大下载次数限制"`
ErrorMessage string `json:"errorMessage" orm:"error_message" description:"失败原因"`
DeptId int64 `json:"deptId" orm:"dept_id" description:"所属机构ID"`
StartTime *gtime.Time `json:"startTime" orm:"start_time" description:"任务开始时间"`
FinishTime *gtime.Time `json:"finishTime" orm:"finish_time" description:"任务完成时间"`
ExpireTime *gtime.Time `json:"expireTime" orm:"expire_time" description:"文件过期时间"`
Remark string `json:"remark" orm:"remark" description:"备注"`
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门ID"`
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者ID"`
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者ID"`
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
}