first commit
This commit is contained in:
25
app/Models/PropertyWebLog.php
Normal file
25
app/Models/PropertyWebLog.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
class PropertyWebLog extends BaseModel
|
||||
{
|
||||
|
||||
protected $table = 'property_web_log';
|
||||
protected $appends = [];
|
||||
|
||||
const CREATED_AT = 'created_at';
|
||||
const UPDATED_AT = 'updated_at';
|
||||
|
||||
protected $dateFormat = 'U';
|
||||
protected $guarded = [];
|
||||
|
||||
protected $hidden = [];
|
||||
|
||||
public function country()
|
||||
{
|
||||
return $this->hasOne('App\Models\IpNationCountries','code', 'country_code')->select("code", "country");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user