%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/bbw/farmaci/kritik-portale/module/ReviewBase/src/ReviewBase/Entity/
Upload File :
Create Path :
Current File : /var/www/html/bbw/farmaci/kritik-portale/module/ReviewBase/src/ReviewBase/Entity/ContractEntity.php

<?php

/**
 * Description of ContractEntity
 *
 * @author Florian Koller ( conlabz GmbH ) <florian.koller at conlabz.de>
 */

namespace ReviewBase\Entity;

class ContractEntity
{        
    protected $entityid;
    protected $userid;
    protected $objectid;
    protected $plan_name;
    protected $plan_version;
    protected $plan_start;
    protected $plan_end;
    protected $external_customer_hash;
    protected $external_subscription_hash;
    protected $plan_early_end;
    protected $plan_price;
    protected $created_at;
    protected $modified;
    protected $plan_auto_extension;
    protected $billing_address;
    protected $customer_number;
    protected $contract_number;
    protected $billing_number;
    protected $contract_deleted;
    protected $status;
    protected $external_status;
    
    public function __get($property)
    {
        return $this->$property;
    }

    public function __set($property, $value)
    {
        $this->$property = $value;
    }

    public function existProperty($property)
    {
        return property_exists($this, $property);
    }

    public function exchangeArray(array $array)
    {
        foreach(array_keys($array) as $column)
        {
            $this->$column = $array[$column];
        }
    }

    public function getArrayCopy()
    {
        return get_object_vars($this);
    }
    
}

Zerion Mini Shell 1.0