Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Secretaria extends Model {
- public $timestamps = false;
- protected $primaryKey = 'idSecretaria';
- public function servicos() {
- return $this->hasMany('App\Servico');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement