mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
13 lines
230 B
Python
13 lines
230 B
Python
from mongoengine import *
|
|
|
|
from model.base import BaseModel
|
|
|
|
|
|
class Spider(BaseModel):
|
|
_id = ObjectIdField()
|
|
name = StringField()
|
|
cmd = StringField()
|
|
src = StringField()
|
|
type = IntField()
|
|
lang = IntField()
|