1234567891011121314 |
- # -*- coding: utf-8 -*-
- """
- demeter database
- name:score.py 积分表
- """
- from .__load__ import *
- class Score(Model):
- __table__ = 'score'
- __comment__ = '积分设置表'
- id = Fields(type='int', primaryKey=True, autoIncrement=True, comment='ID')
- name = Fields(type='varchar(200)', comment='积分名称')
- state = Fields(type='boolean', default='True', comment='数据存在状态')
- cdate = Fields(type='int', default='time', comment='创建时间')
|