#!/usr/bin/env python # -*- coding: utf-8 -*- """ demeter database name:content_help.py author:rabin """ from __load__ import * class Content_help(Base): __table__ = 'content_help' __comment__ = '帮助表' id = Fields(type='int', primaryKey=True, autoIncrement=True, comment='分栏ID') name = Fields(type='varchar(255)', comment='分栏名') content = Fields(type='text', comment='分栏内容') state = Fields(type='boolean', default='True', comment='数据存在状态') cdate = Fields(type='int', default='time', comment='创建时间')