1234567891011121314151617181920 |
- class Ticket_user(object):
- def __init__(self, id, status, title, ticket_type, created_at, updated_at, due_date, priority, created_by, assigned_to):
- self.id = id
- self.status = status
- self.title = title
- self.ticket_type = ticket_type
- self.created_at = created_at
- self.updated_at = updated_at
- self.due_date = due_date
- self.priority = priority
- self.created_by = created_by
- self.assigned_to = assigned_to
-
- def __str__(self):
- return "{0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}\n".format(
- self.id, self.status, self.title, self.ticket_type, self.created_at,
- self.updated_at, self.due_date, self.priority,
- self.created_by, self.assigned_to
- )
|