mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
22 lines
494 B
Go
22 lines
494 B
Go
package interfaces
|
|
|
|
import (
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
"time"
|
|
)
|
|
|
|
type ModelArtifactSys interface {
|
|
GetCreateTs() time.Time
|
|
SetCreateTs(ts time.Time)
|
|
GetUpdateTs() time.Time
|
|
SetUpdateTs(ts time.Time)
|
|
GetDeleteTs() time.Time
|
|
SetDeleteTs(ts time.Time)
|
|
GetCreateUid() primitive.ObjectID
|
|
SetCreateUid(id primitive.ObjectID)
|
|
GetUpdateUid() primitive.ObjectID
|
|
SetUpdateUid(id primitive.ObjectID)
|
|
GetDeleteUid() primitive.ObjectID
|
|
SetDeleteUid(id primitive.ObjectID)
|
|
}
|