first commit
This commit is contained in:
26
app/Models/PropertyAdditionalInfo.php
Normal file
26
app/Models/PropertyAdditionalInfo.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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' ]);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user