pyztk/zk/attendance.py
Arturo Hernandez 9157826077 minor fix
2018-05-30 22:18:43 -04:00

14 lines
426 B
Python

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