public function __construct($package)
 {
     parent::__construct($package);
     if (empty($package->allopassId) || empty($package->allopassNumber)) {
         return;
     }
     $this->allopassId = $package->allopassId;
     $this->allopassNumber = $package->allopassNumber;
     $values = explode("/", $this->allopassId);
     if (count($values) != 3) {
         return;
     }
     $this->siteId = $values[0];
     $this->docId = $values[1];
     $this->authId = $values[2];
     $this->valid = true;
 }
 public function __construct($package)
 {
     parent::__construct($package);
     $this->itemName = $package->name;
     $this->valid = true;
 }