e-deposit model WIP
This commit is contained in:
parent
a1e3174700
commit
a4dc798f86
2 changed files with 178 additions and 70 deletions
|
|
@ -2781,44 +2781,162 @@ models:
|
|||
- year_month_created
|
||||
- year_month_checkout
|
||||
- id_user
|
||||
- name: int__verifications
|
||||
description: ""
|
||||
columns:
|
||||
- name: year_month_created
|
||||
- name: id_verification
|
||||
data_type: text
|
||||
description: "first day of month of created date"
|
||||
description: "unique Superhog generated id for this verification"
|
||||
tests:
|
||||
- unique
|
||||
- not_null
|
||||
|
||||
- name: year_month_checkout
|
||||
- name: id_booking
|
||||
data_type: text
|
||||
description: "first day of month of check-out date"
|
||||
description: "unique Superhog generated id for a booking"
|
||||
|
||||
- name: id_user
|
||||
data_type: text
|
||||
description: "unique id value for user"
|
||||
description: "unique Superhog generated id for a guest"
|
||||
|
||||
- name: bookings_per_month
|
||||
data_type: bigint
|
||||
description: "total number of bookings"
|
||||
- name: id_listing
|
||||
data_type: text
|
||||
description: "unique Superhog generated id for a listing"
|
||||
|
||||
- name: cancelled_per_month
|
||||
data_type: bigint
|
||||
description: "number of cancelled bookings"
|
||||
- name: version
|
||||
data_type: text
|
||||
description:
|
||||
"V1 for guesty verifications
|
||||
V2 fo e-deposit verifications"
|
||||
tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- V1
|
||||
- V2
|
||||
|
||||
- name: cancelled_ratio
|
||||
data_type: numeric
|
||||
description: "ratio of cancelled bookings over total bookings"
|
||||
- name: verification_status
|
||||
data_type: text
|
||||
description: "status of the verification"
|
||||
|
||||
- name: sum_cancelled_fee
|
||||
data_type: numeric
|
||||
description: "sum of fees charged for cancelled bookings"
|
||||
- name: verification_status_reason
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: ok_status_fee_sum
|
||||
data_type: double precision
|
||||
description: |
|
||||
"sum of fees charged for bookings with status 'Approved' or 'Flagged'"
|
||||
- name: nightly_fee_local
|
||||
data_type: text
|
||||
description: "fee charged per night"
|
||||
|
||||
- name: rejected_fee_sum
|
||||
data_type: numeric
|
||||
description: "sum of fees charged for rejected bookings"
|
||||
- name: number_nights
|
||||
data_type: integer
|
||||
description: "number of nights for the booking"
|
||||
|
||||
- name: total_revenue
|
||||
data_type: double precision
|
||||
description: "total sum of fees charged"
|
||||
- name: email_flag
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: phone_flag
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: watch_list
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: channel
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: checkin_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: ""
|
||||
|
||||
- name: checkout_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: ""
|
||||
|
||||
- name: is_cancelled
|
||||
data_type: boolean
|
||||
description: ""
|
||||
|
||||
- name: cancelled_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: ""
|
||||
|
||||
- name: user_email
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: guest_email
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: guest_last_name
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: guest_first_name
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: guest_telephone
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: company_name
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: property_manager_name
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: property_manager_email
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: listing_name
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: listing_town
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: listing_country
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: listing_postcode
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: pets_allowed
|
||||
data_type: boolean
|
||||
description: ""
|
||||
|
||||
- name: level_of_protection_amount
|
||||
data_type: integer
|
||||
description: ""
|
||||
|
||||
- name: level_of_protection_currency
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: status_updated_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: ""
|
||||
|
||||
- name: updated_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: ""
|
||||
|
||||
- name: creation_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: ""
|
||||
|
||||
- name: created_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue