Пример #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
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()