This repository has been archived on 2024-10-04. You can view files and clone it, but cannot push or open issues or pull requests.
AroMVC/Models/State.php

22 lines
400 B
PHP
Raw Normal View History

2017-02-24 16:39:37 +00:00
<?php
2017-03-02 22:02:38 +00:00
namespace Fire\Models;
use \AroMVC\Base\Model;
use \AroMVC\Database\Database as db;
2017-02-24 16:39:37 +00:00
2017-02-24 22:01:32 +00:00
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");
}
2017-02-24 16:39:37 +00:00
}