#ifndef PATRON_CLASS_
#define PATRON_CLASS_
class Patron : public Identity
	{
	public:
		//Constructor/Destructor
		Patron();
		~Patron();
		//Member data
		typedef Text Email;
		static const int EMAIL_LENGTH = 16;
		typedef Text PhoneNumber;
		static const int PHONE_LENGTH = 10;
		//Member functions
		void setName(Name *name);	
		void setEmail(Email *email);
		void setPhone(PhoneNumber *phone);
		virtual void printSummary(int number) const;
		Name getName()const;
 		const char *getTypeName() const;
 		const static int PATRON_TYPE_LENGTH = 7;
	protected:
		//Member data
		PhoneNumber phone;
		Email email;
		Name name;
	};
#endif
