mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
12 lines
415 B
Go
12 lines
415 B
Go
package models
|
|
|
|
import "github.com/crawlab-team/crawlab/core/models/models/v2"
|
|
|
|
type ProjectV2 struct {
|
|
any `collection:"projects"`
|
|
models.BaseModelV2[ProjectV2] `bson:",inline"`
|
|
Name string `json:"name" bson:"name"`
|
|
Description string `json:"description" bson:"description"`
|
|
Spiders int `json:"spiders" bson:"-"`
|
|
}
|