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