|
package etl
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Record struct {
|
|
TaskId int `json:"Record-TaskId" bson:"taskId"`
|
|
Message string `json:"Record-Message" bson:"message"`
|
|
Stage string `json:"Record-Stage" bson:"stage"`
|
|
Data string `json:"Record-Data" bson:"data"`
|
|
TimeStamp time.Time `json:"Record-TimeStamp" bson:"time"`
|
|
SourceDB int `json:"Record-SourceDB" bson:"sourceDb"`
|
|
SourceTable string `json:"Record-SourceTable" bson:"sourceTable"`
|
|
TargetDB int `json:"Record-TargetDB" bson:"targetDb"`
|
|
TargetTable string `json:"Record-TargetTable" bson:"targetTable"`
|
|
Times int `json:"Record-Times" bson:"times"`
|
|
Status string `json:"Record-Status" bson:"status"`
|
|
BatchId string `json:"Record-BatchId" bson:"batchId"`
|
|
DataId string `json:"Record-DataId" bson:"dataId"`
|
|
}
|