You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
715 B
19 lines
715 B
package jobs_mongo_model
|
|
|
|
import (
|
|
"go.dtapp.net/dorm"
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
)
|
|
|
|
// TaskReceiveRecord 任务接收记录
|
|
type TaskReceiveRecord struct {
|
|
Id primitive.ObjectID `json:"id,omitempty" bson:"_id,omitempty"` // 记录编号
|
|
TaskInfo TaskIssueRecordTaskInfo `json:"task_info,omitempty" bson:"task_info,omitempty"` // 任务信息
|
|
SystemInfo TaskIssueRecordSystemInfo `json:"system_info,omitempty" bson:"system_info,omitempty"` // 系统信息
|
|
RecordTime dorm.BsonTime `json:"record_time,omitempty" bson:"record_time,omitempty"` // 记录时间
|
|
}
|
|
|
|
func (TaskReceiveRecord) TableName() string {
|
|
return "task_receive_record_"
|
|
}
|