adding id_deal to api models
This commit is contained in:
parent
dd9bb8a11b
commit
5d3f2f6908
12 changed files with 57 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ with
|
|||
select
|
||||
id_record as id_record,
|
||||
id_user_partner as id_user_partner,
|
||||
id_deal as id_deal,
|
||||
id_reservation as id_reservation,
|
||||
id_accommodation as id_accommodation,
|
||||
guest_last_name as guest_last_name,
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ with
|
|||
|
||||
select
|
||||
id_user_partner as id_user_partner,
|
||||
id_deal as id_deal,
|
||||
year as year,
|
||||
month as month,
|
||||
id_currency as id_currency,
|
||||
|
|
|
|||
|
|
@ -19,6 +19,12 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: id_deal
|
||||
data_type: text
|
||||
description: Identifier for the deal associated with the booking.
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: id_reservation
|
||||
data_type: text
|
||||
description: Unique identifier for the reservation associated with the check-in.
|
||||
|
|
@ -171,6 +177,12 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: id_deal
|
||||
data_type: text
|
||||
description: Identifier for the deal associated with the booking.
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: year
|
||||
data_type: integer
|
||||
description: |
|
||||
|
|
|
|||
|
|
@ -26,6 +26,12 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: id_deal
|
||||
data_type: text
|
||||
description: Identifier for the deal associated with the booking.
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: id_accommodation
|
||||
data_type: text
|
||||
description: Identifier for the accommodation related to the booking.
|
||||
|
|
@ -277,6 +283,12 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: id_deal
|
||||
data_type: text
|
||||
description: Identifier for the deal associated with the booking.
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: id_accommodation
|
||||
data_type: text
|
||||
description: "Identifier for the accommodation related to the booking."
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ select
|
|||
id_verification as id_verification,
|
||||
id_booking as id_booking,
|
||||
id_user_partner as id_user_partner,
|
||||
id_deal as id_deal,
|
||||
id_accommodation as id_accommodation,
|
||||
is_protected as is_protected,
|
||||
protection_type as protection_type,
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ select
|
|||
id_verification as id_verification,
|
||||
id_booking as id_booking,
|
||||
id_user_partner as id_user_partner,
|
||||
id_deal as id_deal,
|
||||
id_accommodation as id_accommodation,
|
||||
is_protected as is_protected,
|
||||
protection_type as protection_type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue