43 lines
3.5 KiB
Go
43 lines
3.5 KiB
Go
// =================================================================================
|
||
// 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"
|
||
)
|
||
|
||
// TExportTask is the golang structure for table t_export_task.
|
||
type TExportTask struct {
|
||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||
TaskNo string `json:"taskNo" orm:"task_no" description:"任务编号(=执行日志批次编号=文件名主体)"`
|
||
BizKey string `json:"bizKey" orm:"biz_key" description:"业务标识"`
|
||
BizName string `json:"bizName" orm:"biz_name" description:"业务名称"`
|
||
PermCode string `json:"permCode" orm:"perm_code" description:"导出权限码快照,K1用"`
|
||
QueryParams *gjson.Json `json:"queryParams" orm:"query_params" description:"筛选条件快照"`
|
||
IdentitySnapshot *gjson.Json `json:"identitySnapshot" orm:"identity_snapshot" description:"提交时用户身份与角色范围快照"`
|
||
Status int `json:"status" orm:"status" description:"状态 0排队 2生成中 1已完成 3失败"`
|
||
TotalCount int `json:"totalCount" orm:"total_count" description:"导出总行数"`
|
||
OssId int64 `json:"ossId" orm:"oss_id" description:"OSS文件ID"`
|
||
FileName string `json:"fileName" orm:"file_name" 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:"最后下载时间"`
|
||
ErrorMessage string `json:"errorMessage" orm:"error_message" description:"失败原因"`
|
||
OwnerUserId int64 `json:"ownerUserId" orm:"owner_user_id" description:"发起用户ID,K2用"`
|
||
DeptId int64 `json:"deptId" orm:"dept_id" description:"机构ID"`
|
||
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:"创建时间"`
|
||
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:"文件过期时间"`
|
||
DeletedTime *gtime.Time `json:"deletedTime" orm:"deleted_time" description:"文件清理时间"`
|
||
DeleteReason string `json:"deleteReason" orm:"delete_reason" description:"文件清理原因 user/expired"`
|
||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||
}
|