yadyn/server/Customer.py

11 lines
427 B
Python
Raw Normal View History

2009-02-21 20:35:51 +01:00
class Customer(object):
def __init__(self, zone, adminPwd, contact, email, maxEntries):
self.zone = zone
self.adminPwd = adminPwd
self.contact = contact
self.email = email
self.maxEntries = maxEntries
def __str__(self):
return "Customer[zone=%s, adminPwd=%s, contact=%s, email=%s, maxEntries=%d]" % (self.zone, self.adminPwd, self.contact, self.email, self.maxEntries)