Listings report model
This commit is contained in:
parent
353972984e
commit
3b6f6eed0a
4 changed files with 314 additions and 0 deletions
|
|
@ -4866,3 +4866,119 @@ models:
|
|||
Date of when this user was last updated.
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: int_core__accommodations_activity
|
||||
description: |
|
||||
This model provides a detailed information on listings, including their hosts,
|
||||
and related booking activity. It contains identifiers, geographic information,
|
||||
host details, and booking counts categorized by status.
|
||||
|
||||
columns:
|
||||
- name: id_accommodation
|
||||
data_type: bigint
|
||||
description: "The unique identifier of the listing."
|
||||
data_tests:
|
||||
- unique
|
||||
- not_null
|
||||
|
||||
- name: id_user_host
|
||||
data_type: text
|
||||
description: "The unique identifier of the host associated with the listing."
|
||||
|
||||
- name: id_deal
|
||||
data_type: character varying
|
||||
description: |
|
||||
The primary identifier of the B2B client (deal). A deal can be linked to multiple hosts,
|
||||
while a host can have at most one deal or none. This field can be null if there is no deal.
|
||||
|
||||
- name: company_name
|
||||
data_type: character varying
|
||||
description: |
|
||||
The name of the company associated with the host. This value may sometimes match
|
||||
the host's first name, last name, a combination of both, or be entirely different.
|
||||
It can also be null or empty.
|
||||
|
||||
- name: email
|
||||
data_type: character varying
|
||||
description: "The email address of the host."
|
||||
|
||||
- name: first_name
|
||||
data_type: character varying
|
||||
description: "The first name of the host."
|
||||
|
||||
- name: last_name
|
||||
data_type: character varying
|
||||
description: "The last name of the host."
|
||||
|
||||
- name: is_active
|
||||
data_type: boolean
|
||||
description: |
|
||||
Indicates whether the listing is currently active.
|
||||
|
||||
- name: friendly_name
|
||||
data_type: character varying
|
||||
description: "A user-friendly name assigned to the listing."
|
||||
|
||||
- name: country_name
|
||||
data_type: character varying
|
||||
description: "The full name of the country where the listing is located."
|
||||
|
||||
- name: town
|
||||
data_type: character varying
|
||||
description: "The town or city where the listing is located."
|
||||
|
||||
- name: address_line_1
|
||||
data_type: character varying
|
||||
description: "The first line of the listing's address."
|
||||
|
||||
- name: address_line_2
|
||||
data_type: character varying
|
||||
description: "The second line of the listing's address, if applicable."
|
||||
|
||||
- name: country_iso_2
|
||||
data_type: character varying
|
||||
description: "The two-letter ISO 3166-1 country code representing the listing's country."
|
||||
|
||||
- name: postcode
|
||||
data_type: character varying
|
||||
description: "The postal code of the listing's location."
|
||||
|
||||
- name: currency_iso4217
|
||||
data_type: character varying
|
||||
description: "The three-letter ISO 4217 currency code for transactions related to the listing."
|
||||
|
||||
- name: created_date_utc
|
||||
data_type: date
|
||||
description: "The date when the listing was first created."
|
||||
|
||||
- name: approved_bookings
|
||||
data_type: bigint
|
||||
description: "The total number of bookings with status approved for this accommodation."
|
||||
|
||||
- name: cancelled_bookings
|
||||
data_type: bigint
|
||||
description: "The total number of bookings with status cancelled for this accommodation."
|
||||
|
||||
- name: flagged_bookings
|
||||
data_type: bigint
|
||||
description: "The total number of bookings with status flagged for this accommodation."
|
||||
|
||||
- name: incomplete_information_bookings
|
||||
data_type: bigint
|
||||
description: "The total number of bookings with status incomplete information for this accommodation."
|
||||
|
||||
- name: no_flags_bookings
|
||||
data_type: bigint
|
||||
description: "The total number of bookings with status no flags for this accommodation."
|
||||
|
||||
- name: not_approved_bookings
|
||||
data_type: bigint
|
||||
description: "The total number of bookings with status not approved for this accommodation."
|
||||
|
||||
- name: rejected_bookings
|
||||
data_type: bigint
|
||||
description: "The total number of bookings with status rejected for this accommodation."
|
||||
|
||||
- name: total_bookings
|
||||
data_type: bigint
|
||||
description: "The total number of bookings for this accommodation."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue