<?php

namespace Tests\Fixture\Models;

use Bootstrap\Database\Model;

class FamilyModel extends Model
{
    protected $table = 'families';

    protected $fillable = ['name', 'address'];

    public function parent()
    {
        return $this->hasMany(ParentModel::class);
    }

    public function childs()
    {
        return $this->hasMany(ChildModel::class);
    }
}
