15 lines
545 B
Go
15 lines
545 B
Go
package entity
|
|
|
|
import "github.com/gogf/gf/v2/os/gtime"
|
|
|
|
type ParseTask struct {
|
|
Id int64 `orm:"id" json:"id"`
|
|
DocumentId int64 `orm:"document_id" json:"document_id"`
|
|
DatasetId int64 `orm:"dataset_id" json:"dataset_id"`
|
|
TaskType string `orm:"task_type" json:"task_type"`
|
|
Status int `orm:"status" json:"status"`
|
|
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"`
|
|
}
|