hasOne('App\Models\PropertyCancellationPolicy', 'id', 'cancellation_policy_id') ->select(['id', 'property_id', 'name', 'before_arrival', 'is_nonrefundable', 'is_free_cancellation', 'type', 'value', 'is_affected_price', 'affect_price_action_type', 'affect_price_type', 'affect_price_value', 'is_date_range', 'start_date', 'finish_date', 'status']); } }