<?php

namespace App;

use App\Models\FinishedContracts;

use Illuminate\Database\Eloquent\Model;
use Grimzy\LaravelMysqlSpatial\Eloquent\SpatialTrait;

class NoHome extends Model
{
    use SpatialTrait;
    //

    protected $fillable = [
        'contract_id',
        'house_photo',
    ];

    protected $spatialFields = [
        'location',
    ];

  public function finishedcontracts()
  {
      return $this->belongsTo(FinishedContracts::class);
  }

}
