cancellation_policies table
The cancellation_policies table in the Hotel Booking Database Schema schema has 6 columns, keyed by id, with 1 foreign key to properties. 1 column in rate_plans references it.
penalty_value is a percentage for percentage type, otherwise minor units, otherwise a night count.
Columns (6)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| property_id | uuid | not null, references properties.id | |
| name | varchar(120) | not null | |
| free_cancel_until_hours | smallint | ||
| penalty_type | penalty_type | not null | |
| penalty_value | integer | not null |
Relationships
cancellation_policies.property_idreferencesproperties.idrate_plans.cancellation_policy_idreferencescancellation_policies