add customer level

This commit is contained in:
Wolfgang Hottgenroth
2009-02-21 20:35:51 +01:00
parent 31c92eae50
commit cb38eef50f
8 changed files with 161 additions and 43 deletions

10
server/Customer.py Normal file
View File

@ -0,0 +1,10 @@
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)