package entity import "github.com/gogf/gf/v2/os/gtime" type Document struct { Id int64 `orm:"id" json:"id"` DatasetId int64 `orm:"dataset_id" json:"dataset_id"` Filename string `orm:"filename" json:"filename"` FilePath string `orm:"file_path" json:"file_path"` FileSize int64 `orm:"file_size" json:"file_size"` FileType string `orm:"file_type" json:"file_type"` Status int `orm:"status" json:"status"` ChunkCount int `orm:"chunk_count" json:"chunk_count"` ErrorMsg string `orm:"error_msg" json:"error_msg"` CreatedAt *gtime.Time `orm:"created_at" json:"created_at"` UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"` }