first commit
This commit is contained in:
24
app/Models/PropertyAdditionalInfoKey.php
Normal file
24
app/Models/PropertyAdditionalInfoKey.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
namespace App\Models;
|
||||
|
||||
|
||||
|
||||
|
||||
class PropertyAdditionalInfoKey extends BaseModel
|
||||
{
|
||||
protected $table = 'property_additional_info_key';
|
||||
|
||||
const CREATED_AT = 'created_at';
|
||||
const UPDATED_AT = 'updated_at';
|
||||
|
||||
protected $dateFormat = 'U';
|
||||
|
||||
protected $appends = [];
|
||||
protected $guarded = [];
|
||||
protected $hidden = [];
|
||||
|
||||
public function propertyAdditionalLocale()
|
||||
{
|
||||
return $this->hasMany('App\Models\PropertyAdditionalInfoKeyLocale','additional_info_key_id','id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user