Skip to main content

property-detail

The property_details table stores comprehensive information about properties listed in a system, likely for a hotel or accommodation booking platform.

Field NameTypeOtherIndex
idint(11)NOT NULL AUTO_INCREMENTYa
useridint(11)NOT NULLYa
Property_Namevarchar(100)COLLATE utf8_bin NOT NULL
currencyvarchar(50)COLLATE utf8_bin NOT NULL
Accomodation_typevarchar(100)COLLATE utf8_bin NOT NULL
Ratingvarchar(11)COLLATE utf8_bin DEFAULT NULL
rating_Typevarchar(100)COLLATE utf8_bin DEFAULT NULL
Rating_Numbervarchar(30)COLLATE utf8_bin NOT NULL
Contact_Namevarchar(150)COLLATE utf8_bin NOT NULL
Emailvarchar(100)COLLATE utf8_bin NOT NULL
cc_emaillongtextCOLLATE utf8_bin
country_codevarchar(15)COLLATE utf8_bin NOT NULL
Primary_Phonevarchar(15)COLLATE utf8_bin DEFAULT NULL
mobile_numbervarchar(20)COLLATE utf8_bin NOT NULL
mobile_countrycodevarchar(50)COLLATE utf8_bin NOT NULL
Primary_Faxvarchar(20)COLLATE utf8_bin NOT NULL
Website_Addressvarchar(100)COLLATE utf8_bin DEFAULT NULL
Qty_roomsint(11)NOT NULL
Tax_Idvarchar(50)COLLATE utf8_bin NOT NULL
Time_Zonevarchar(100)COLLATE utf8_bin NOT NULL
Street_Addressvarchar(250)COLLATE utf8_bin NOT NULL
Street_Cityvarchar(100)COLLATE utf8_bin NOT NULL
Street_Statevarchar(100)COLLATE utf8_bin NOT NULL
Street_Zipvarchar(20)COLLATE utf8_bin DEFAULT NULL
Street_Countryvarchar(100)COLLATE utf8_bin NOT NULL
Postal_Addressvarchar(250)COLLATE utf8_bin NOT NULL**
Postal_Cityvarchar(100)COLLATE utf8_bin NOT NULL**
Postal_Statevarchar(100)COLLATE utf8_bin NOT NULL**
Postal_Zipvarchar(20)COLLATE utf8_bin DEFAULT NULL**
Postal_Countryvarchar(100)COLLATE utf8_bin NOT NULL**
Latitudevarchar(100)COLLATE utf8_bin NOT NULL
Longitudevarchar(100)COLLATE utf8_bin NOT NULL
DescriptionmediumtextCOLLATE utf8_bin
terms_conditionstextCOLLATE utf8_bin NOT NULL
thumbnaillongtextCOLLATE utf8_bin NOT NULL
property_logolongtextCOLLATE utf8_bin NOT NULL
step_noint(11)NOT NULL
datedateNOT NULL
tripReviewEnable (is_demo)int(1)NOT NULL default 0
tripInventoryEnable (trial_start_date)int(11) DateDate()NOT NULL
cron_import_resvint(11)NOT NULL
place deactive_datevarchar(100) DatetimeCOLLATE utf8_bin NOT NULL
category sales_personvarchar(200)COLLATE utf8_bin NOT NULL
distance whitelablevarchar(30)COLLATE utf8_bin NOT NULL
distance_type deactive_reasonvarchar(15)COLLATE utf8_bin NOT NULL
travel_timevarchar(20)COLLATE utf8_bin NOT NULLnot use
byvarchar(20)COLLATE utf8_bin NOT NULLnot use
namevarchar(200)COLLATE utf8_bin NOT NULLnot use
banner_picturemediumtextCOLLATE utf8_bin NOT NULL
mobilebanner_picturetextOLLATE utf8_bin NOT NULL
templatevarchar(255)COLLATE utf8_bin DEFAULT 'template3'not use
template_idenum('','1','2','3')COLLATE utf8_bin NOT NULLnot use
backgroundimagevarchar(200)COLLATE utf8_bin DEFAULT NULL
custombgimagevarchar(200)COLLATE utf8_bin DEFAULT NULL
covervarchar(10)COLLATE utf8_bin DEFAULT NULL
facebook_linkvarchar(200)COLLATE utf8_bin DEFAULT NULL
com_base_startvarchar(150)COLLATE utf8_bin NOT NULL
syspay_loginint(11)NOT NULL
search_tagsvarchar(400)COLLATE utf8_bin NOT NULL
syspay_public_keyvarchar(250)COLLATE utf8_bin NOT NULL
statusenum('active','inactive')COLLATE utf8_bin NOT NULLYa
unique_idvarchar(50)COLLATE utf8_bin NOT NULL
cron_import_compint(11)NOT NULL
api_statusint(11)NOT NULL
prefix_booking_numbervarchar(50)COLLATE utf8_bin DEFAULT NULL
last_monthvarchar(10)COLLATE utf8_bin NOT NULL
analytictextCOLLATE utf8_bin
pms_flagvarchar(20)COLLATE utf8_bin DEFAULT NULL
email_reportvarchar(200)COLLATE utf8_bin NOT NULL
Preferred_Currencyvarchar(20)COLLATE utf8_bin NOT NULL
auto_updatevarchar(200)COLLATE utf8_bin NOT NULL
payment_cycleenum('monthly','yearly')COLLATE utf8_bin NOT NULL
payment_amountvarchar(20)COLLATE utf8_bin NOT NULL
google_tag_managervarchar(500)COLLATE utf8_bin DEFAULT NULL
google_tag_manager2varchar(500)COLLATE utf8_bin DEFAULT NULL
api_keyvarchar(100)COLLATE utf8_bin NOT NULL
cvv_checkint(11)NOT NULL
contract_startdateNOT NULL
update_log_statusint(11)NOT NULL
mail_alertint(11)NOT NULL
agent_pageint(11)NOT NULL
lang_idint(11)NOT NULL
cron_settingint(11)DEFAULT '2'Ya
com_baseint(11)NOT NULL
paidvarchar(20)COLLATE utf8_bin NOT NULL
group_idvarchar(200)COLLATE utf8_bin NOT NULL
hk_featureint(11)NOT NULL
min_rowsint(11)NOT NULL
property_group_idint(11)NOT NULL
instagram_linkvarchar(200)COLLATE utf8_bin DEFAULT NULL
jurnal_apikeyvarchar(200)COLLATE utf8_bin NOT NULL
timestamptimestampNULL DEFAULT CURRENT_TIMESTAMP
dynamic_pricing_methodint(11)NOT NULL
trialint(11)NOT NULL
billing_currencyvarchar(3)COLLATE utf8_bin NOT NULL
bookingkuint(11)NOT NULL
email_bnlgatewayvarchar(100)COLLATE utf8_bin NOT NULL
email_dyn_pricingvarchar(100)COLLATE utf8_bin NOT NULL
yearly_synchroint(11)NOT NULL
ibe_enableint(11)NOT NULL
order_stepint(11)NOT NULL
kovena_surcharge_typevarchar(10)COLLATE utf8_bin NOT NULL
kovena_surcharge_valuevarchar(10)COLLATE utf8_bin NOT NULL
youtube_linkvarchar(200)COLLATE utf8_bin DEFAULT NULL
kovena_gatewayvarchar(30)COLLATE utf8_bin NOT NULL
kovena_currencyvarchar(3)COLLATE utf8_bin NOT NULL
send_ccint(11)NOT NULL
search_tags2varchar(400)COLLATE utf8_bin NOT NULL
hotelkuint(11)DEFAULT '0'
posint(11)DEFAULT '0'
dyn_pricingint(11)DEFAULT '0'
reviewkuint(11)DEFAULT '0'
is_suspendedtinyint(4)DEFAULT '0'
billing_datedateDEFAULT NULLYa
is_s3_storagetinyint(4)DEFAULT '0'Ya
dynamic_min_nighttinyint(4)DEFAULT '0'
accounting_emailvarchar(150)COLLATE utf8_bin NOT NULL
tiktok_linktextCOLLATE utf8_bin
slugvarchar(255)COLLATE utf8_bin DEFAULT NULL
created_attimestampNULL DEFAULT CURRENT_TIMESTAMP
updated_attimestampNULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP

Here’s an explanation of each field:

Basic Identifiers

  • id: Unique identifier for the property.
  • userid: The user who owns or manages the property.
  • unique_id: A secondary unique identifier, possibly used for external integrations.

Property Information

  • Property_Name: Name of the property.
  • currency: Default currency for transactions related to this property.
  • Accomodation_type: Type of accommodation (e.g., hotel, villa, apartment).
  • category: Classification of the property (e.g., budget, luxury).
  • place: The general location or area of the property.

Ratings & Reviews

  • Rating: Overall rating of the property.
  • rating_Type: Type of rating used (e.g., stars, points).
  • Rating_Number: Number of reviews that contributed to the rating.
  • is_demo: Whether demo Account are enabled.
  • reviewku: Whether internal review features are enabled.

Contact Details

  • Contact_Name: Primary contact person.
  • Email: Official email address.
  • cc_email: Additional email for CC.
  • country_code: Country dialing code.
  • Primary_Phone: Main contact number.
  • mobile_number: Mobile phone number.
  • mobile_countrycode: Country code for the mobile number.
  • Primary_Fax: Fax number.
  • Website_Address: Official website link.
  • accounting_email: Email for accounting-related matters.

Address Details

  • Street_Address, Street_City, Street_State, Street_Zip, Street_Country: Physical address of the property.
  • Postal_Address, Postal_City, Postal_State, Postal_Zip, Postal_Country: Postal mailing address.

Geolocation

  • Latitude: Geographic latitude.
  • Longitude: Geographic longitude.
  • distance: Distance from a key location.
  • distance_type: Unit of measurement (e.g., km, miles).
  • travel_time: Estimated travel time to a key location.

Property Details

  • Qty_rooms: Number of rooms available.
  • Tax_Id: Tax identifier.
  • Time_Zone: Property’s timezone.
  • terms_conditions: Terms and conditions for booking.
  • Description: Description of the property.

Images & Media

  • thumbnail: Thumbnail image of the property.
  • property_logo: Property’s logo.
  • banner_picture: Main banner image.
  • mobilebanner_picture: Banner image for mobile display.
  • backgroundimage: Background image for the property’s profile.
  • custombgimage: Custom background image.
  • cover: Cover image.
  • facebook_link, instagram_link, youtube_link, tiktok_link: Social media links.

Booking & Payment Settings

  • Preferred_Currency: Default currency for transactions.
  • auto_update: Whether automatic updates are enabled.
  • payment_cycle: Frequency of payments (e.g., monthly, yearly).
  • payment_amount: Default payment amount.
  • pms_flag: Indicates if the property is using a Property Management System (PMS).
  • cvv_check: Whether CVV verification is required.
  • prefix_booking_number: Prefix for booking numbers.
  • billing_currency: Currency for billing.
  • billing_date: Date of the billing cycle.
  • paid: Whether the property has settled its dues.
  • trial: Whether the property is in a trial period.

Integration & API Settings

  • api_status: Status of the API connection.
  • api_key: API key for external integrations.
  • cron_import_resv: Whether reservation import via cron job is enabled.
  • cron_import_comp: Whether completed reservation import is enabled.
  • cron_setting: Settings related to cron jobs.
  • yearly_synchro: Whether yearly synchronization is enabled.
  • ibe_enable: Whether Internet Booking Engine (IBE) is enabled.
  • syspay_login: System payment login credential.
  • syspay_public_key: Public key for system payments.
  • kovena_gateway: Payment gateway used.
  • kovena_currency: Currency used for Kovena transactions.
  • kovena_surcharge_type: Type of surcharge applied in Kovena.
  • kovena_surcharge_value: Value of the surcharge.

Analytics & Tracking

  • google_tag_manager, google_tag_manager2: Google Tag Manager IDs for tracking.
  • analytic: Stores analytics-related data.
  • update_log_status: Whether updates are logged.

Marketing & SEO

  • search_tags: Tags used for search optimization.
  • search_tags2: Additional search tags.
  • slug: SEO-friendly URL identifier.

Administrative & Miscellaneous

  • step_no: Current setup step in the onboarding process.
  • date: The date when the property was added.
  • timestamp: Last update timestamp.
  • group_id: Group ID if the property belongs to a group.
  • property_group_id: ID of the property's group.
  • is_suspended: Whether the property is suspended.
  • is_s3_storage: Whether S3 storage is used.
  • dynamic_min_night: Minimum nights for dynamic pricing.
  • dynamic_pricing_method: Method used for dynamic pricing.
  • dyn_pricing: Whether dynamic pricing is enabled.
  • order_step: The step number in the order process.
  • mail_alert: Whether email alerts are enabled.
  • agent_page: Whether an agent-specific page is enabled.
  • lang_id: Language ID of the property.