22 lines
No EOL
400 B
PHP
22 lines
No EOL
400 B
PHP
<?php
|
|
namespace Fire\Models;
|
|
use \AroMVC\Base\Model;
|
|
use \AroMVC\Database\Database as db;
|
|
|
|
class State extends Model {
|
|
protected $id;
|
|
protected $name;
|
|
|
|
protected $companyId;
|
|
protected $company;
|
|
|
|
protected $municipalities;
|
|
|
|
protected function initialize() {
|
|
$this->addHook("company", function() {
|
|
|
|
});
|
|
|
|
$this->addAssociation("companyId", "cid");
|
|
}
|
|
} |