Ejemplo n.º 1
0
class kate5(persist_db.Document):
    # Primary ID
    id = persist_db.StringField(required=False)

    # kate5  model data
    name = persist_db.StringField(required=False)
    description = persist_db.StringField(required=False)

    # Default tracking data
    createdBy = persist_db.StringField(required=False)
    modifiedBy = persist_db.StringField(required=False)
    orgId = persist_db.StringField(required=True)
    tenantId = persist_db.StringField(required=True)
    createdDate = persist_db.StringField(required=False)
    modifiedDate = persist_db.StringField(required=True)
Ejemplo n.º 2
0
class Artifacts(persist_db.Document):
    # Primary ID
    id = persist_db.StringField(required=False)

    # Artifacts  model data
    type = persist_db.StringField(required=False)
    contentType = persist_db.StringField(required=False)
    title = persist_db.StringField(required=False)
    url = persist_db.StringField(required=False)
    projectId = persist_db.StringField(required=False)
    iterationId = persist_db.StringField(required=False)
    isResource = persist_db.BoolField(required=False)

    # Default tracking data
    createdBy = persist_db.StringField(required=False)
    modifiedBy = persist_db.StringField(required=False)
    orgId = persist_db.StringField(required=True)
    tenantId = persist_db.StringField(required=True)
    createdDate = persist_db.StringField(required=False)
    modifiedDate = persist_db.StringField(required=True)