Demo entry 6361972

try

   

Submitted by anonymous on May 06, 2017 at 05:12
Language: Python 3. Code size: 479 Bytes.

class Position(database.Model):
	__tablename__ = 'position'
	__bind_key__  = 'data'
	id = database.Column(database.Integer, primary_key = True)
	position = database.Column(database.String(64), index = True)
	time = database.Column(database.DateTime())

	wen_du = database.Column(database.Integer)
	zhuo_du = database.Column(database.Integer)
	zhao_qi = database.Column(database.Integer)


	def __repr__(self):
			return '<Position %d %s >' % (self.id, self.position)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).