13 lines
356 B
Python
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)
|