mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
added models
This commit is contained in:
10
model/node.py
Normal file
10
model/node.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from mongoengine import *
|
||||
|
||||
from model.base import BaseModel
|
||||
|
||||
|
||||
class Node(BaseModel):
|
||||
_id = ObjectIdField()
|
||||
node_ip = StringField()
|
||||
node_name = StringField()
|
||||
node_description = StringField()
|
||||
Reference in New Issue
Block a user