21 lines
No EOL
365 B
PHP
21 lines
No EOL
365 B
PHP
<?php
|
|
namespace AroMVC\Models;
|
|
use \AroMVC\Core\Model;
|
|
|
|
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");
|
|
}
|
|
} |