Advertisement
Guest User

Untitled

a guest
Jun 4th, 2014
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.67 KB | None | 0 0
  1. class Client extends \Phalcon\Mvc\Model
  2. {
  3.  
  4.     /**
  5.      *
  6.      * @var integer
  7.      */
  8.     public $id;
  9.      
  10.     /**
  11.      *
  12.      * @var string
  13.      */
  14.     public $dateCreated;
  15.      
  16.     /**
  17.      *
  18.      * @var string
  19.      */
  20.     public $dateUpdated;
  21.      
  22.     /**
  23.      *
  24.      * @var integer
  25.      */
  26.     public $defaultCurrency;
  27.      
  28.     /**
  29.      *
  30.      * @var string
  31.      */
  32.     public $companyName;
  33.      
  34.     /**
  35.      *
  36.      * @var integer
  37.      */
  38.     public $type;
  39.      
  40.     /**
  41.      * Initialize method for model.
  42.      */
  43.     public function initialize()
  44.     {
  45.         $this->hasMany("id", "Clientcontactstype", "client", NULL);
  46.  
  47.     }
  48.  
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement