示例#1
0
class Paste(couchdbkit.Document):
    title = couchdbkit.StringProperty()
    content = couchdbkit.StringProperty()
    created = couchdbkit.DateTimeProperty()
    expire = couchdbkit.DateTimeProperty()
    username = couchdbkit.StringProperty()
    password = couchdbkit.StringProperty()
    typeContent = couchdbkit.StringProperty()
示例#2
0
class soeLogEntry(couchdbkit.Document):
    application = couchdbkit.StringProperty()
    sessionID = couchdbkit.StringProperty()
    logtime = couchdbkit.DateTimeProperty()
    component = couchdbkit.StringProperty()
    comment = couchdbkit.StringProperty()
    logmessage = couchdbkit.StringProperty()
    conversationid = couchdbkit.StringProperty()
    msg_input_text = couchdbkit.StringProperty()
    msg_output_text = couchdbkit.StringListProperty()
示例#3
0
文件: couch.py 项目: strongit/vogeler
class SystemRecord(couch.Document):
    """
    A couchdbkit document for storing our base information
    All documents, regardless of backend, should support
    the following fields:
    system_name
    created_at
    updated_at
    """
    system_name = couch.StringProperty()
    created_at = couch.DateTimeProperty()
    updated_at = couch.DateTimeProperty()
示例#4
0
class StorageFile(couchdbkit.Document):
    batch = couchdbkit.StringProperty()
    filename = couchdbkit.StringProperty()
示例#5
0
class DTMFWord(couchdbkit.Document):
    Word = couchdbkit.StringProperty()
示例#6
0
class ToStore(couchdbkit.Document):
    description = couchdbkit.StringProperty()
    dtInserted = couchdbkit.DateTimeProperty()
    filename = couchdbkit.StringProperty()