<?php


namespace App\Models;


class PropertyAdditionalInfo extends BaseModel
{
    protected $table = 'property_additional_info';

    const CREATED_AT = 'created_at';
    const UPDATED_AT = 'updated_at';

    protected $dateFormat = 'U';

    protected $appends = [];
    protected $guarded = [];
    protected $hidden  = [];


    public function propertyAdditionalInfoKey()
    {
        return $this->hasOne("App\Models\PropertyAdditionalInfoKey",   'id', 'additional_info_key_id')->select(['id' , 'additional_info_key', 'language_key' ]);
    }

}
