mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
13 lines
237 B
Python
13 lines
237 B
Python
from mongoengine import *
|
|
|
|
from model.base import BaseModel
|
|
|
|
|
|
class Node(BaseModel):
|
|
_id = ObjectIdField()
|
|
ip = StringField()
|
|
port = IntField()
|
|
name = StringField()
|
|
description = StringField()
|
|
status = IntField()
|