<?php

/**
 * 
 * @author Peter Csubak (chuby)
 * @copyright Peter Csubak (chuby)
 * 
 * //Annotations:
 * @Table
 */
class Administrator extends Entity implements SecurityGroup {
	
	/**
	 * @var string
	 * @Id
	 * @Attribute(type="md5")
	 */
	protected $passCode;
	
	/**
	 * @var string
	 * @Attribute(type="string", length=25)
	 */
	protected $name;
	
	/**
	 * @var unknown_type
	 * @Attribute(type="string", length=10)
	 */
	protected $userName;
	
	/** @XmlSchema */
	public $desktop;
	
	
	public function getGroupName(){
		return "administrator";
	}
	
	public function __construct(){
		$this->desktop = "<administrator>".
							"<passCode>passCode</passCode>".
							"<name>name</name>".
							"<userName>userName</userName>".
						"</administrator>";
	}
	
}
?>