add customer level
This commit is contained in:
10
server/Customer.py
Normal file
10
server/Customer.py
Normal 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)
|
Reference in New Issue
Block a user