pyztk/zk/attendance.py
2016-06-24 19:00:55 +07:00

13 lines
356 B
Python

# -*- coding: utf-8 -*-
class Attendance(object):
def __init__(self, user_id, timestamp, status):
self.user_id = user_id
self.timestamp = timestamp
self.status = status
def __str__(self):
return '<Attendance>: {}'.format(self.user_id)
def __repr__(self):
return '<Attendance>: {}'.format(self.user_id)