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