yadyn/server/Customer.py
Wolfgang Hottgenroth cb38eef50f add customer level
2009-02-21 20:35:51 +01:00

11 lines
427 B
Python

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)