import { ViewColumn, ViewEntity } from "typeorm"; @ViewEntity({ name: "locals_company_information_for_the_table", }) export class LocalsCompanyInformationForTheTable { @ViewColumn() id: number; @ViewColumn() code: string; @ViewColumn() company: number; @ViewColumn() name: string; @ViewColumn() city: number; @ViewColumn() address: string; @ViewColumn() latitude: number; @ViewColumn() longitude: number; @ViewColumn() details: any | null; @ViewColumn() created: Date; @ViewColumn() created_by: number; @ViewColumn() updated: Date | null; @ViewColumn() updated_by: number | null; @ViewColumn() square: number | null; @ViewColumn() pos_system: number; @ViewColumn() pos_system_settings: any | null; @ViewColumn() status: number; @ViewColumn() visible: number; @ViewColumn() contact_details: any | null; @ViewColumn() operation_status: number; @ViewColumn() local_change_id: number; @ViewColumn() local_change_operation_type: number; @ViewColumn() local_change_comments: string | null; @ViewColumn() local_change_created: Date; @ViewColumn() local_change_status: number; @ViewColumn() local_change_created_by: number | null; @ViewColumn() local_change_assigned_to: number | null; @ViewColumn() local_change_changes: any; @ViewColumn() local_change_local: number; @ViewColumn() type_local: string; @ViewColumn() address_local: string; @ViewColumn() company_id: number; @ViewColumn() company_code: string; @ViewColumn() company_name: string; @ViewColumn() company_expiration: string | null; @ViewColumn() company_partner: number; @ViewColumn() company_contact_details: any | null; @ViewColumn() company_profile: any | null; @ViewColumn() company_legal_agent: any | null; @ViewColumn() company_legal_information: any | null; @ViewColumn() company_settings: any | null; @ViewColumn() city_id: number; @ViewColumn() city_name: string; @ViewColumn() city_region: number; @ViewColumn() city_status: number; @ViewColumn() region_id: number; @ViewColumn() region_name: string; @ViewColumn() region_country: number; @ViewColumn() region_status: number; @ViewColumn() country_id: number; @ViewColumn() country_code: string; @ViewColumn() country_name: string; @ViewColumn() country_currency: string; @ViewColumn() country_details: any | null; @ViewColumn() country_legal_agent: any | null; @ViewColumn() country_legal_information: any | null; @ViewColumn() country_prefix: string; @ViewColumn() country_status: number; @ViewColumn() country_structure_phone: string; @ViewColumn() created_by_id: number; @ViewColumn() created_by_code: string; @ViewColumn() created_by_document: string | null; @ViewColumn() created_by_name: string; @ViewColumn() created_by_surname: string; @ViewColumn() created_by_full_name: string; @ViewColumn() created_by_phone: string | null; @ViewColumn() created_by_owner: number; @ViewColumn() created_by_email: string; @ViewColumn() created_by_city: string | null; @ViewColumn() created_by_address: string | null; @ViewColumn() created_by_profile: any | null; @ViewColumn() created_by_status: number; @ViewColumn() created_by_visible: number; @ViewColumn() created_by_created: Date; @ViewColumn() created_by_updated: Date; @ViewColumn() partner_id: number; @ViewColumn() partner_code: string; @ViewColumn() partner_document: string | null; @ViewColumn() partner_name: string; @ViewColumn() partner_surname: string; @ViewColumn() partner_full_name: string; @ViewColumn() partner_phone: string | null; @ViewColumn() partner_owner: number; @ViewColumn() partner_email: string; @ViewColumn() partner_city: string | null; @ViewColumn() partner_address: string | null; @ViewColumn() partner_profile: any | null; @ViewColumn() partner_status: number; @ViewColumn() partner_visible: number; @ViewColumn() partner_created: Date; @ViewColumn() partner_updated: Date; @ViewColumn() square_id: number; @ViewColumn() square_details: any | null; @ViewColumn() square_email: string | null; @ViewColumn() square_address: string; @ViewColumn() square_latitude: number | null; @ViewColumn() square_longitude: number | null; @ViewColumn() square_maximum_number_locals: number; @ViewColumn() square_name: string; @ViewColumn() square_phone: string | null; @ViewColumn() square_status: number; @ViewColumn() local_plan_id: number; @ViewColumn() local_plan_type: string; @ViewColumn() local_plan_price: number; @ViewColumn() local_plan_start_date: Date; @ViewColumn() local_plan_end_date: Date; @ViewColumn() local_plan_settings: any | null; @ViewColumn() local_plan_status: number; @ViewColumn() plan_code: string; @ViewColumn() plan_company: number; @ViewColumn() plan_created: Date; @ViewColumn() plan_name: string; @ViewColumn() plan_id: number; @ViewColumn() plan_description: any | null; @ViewColumn() plan_quantity_locals: number; @ViewColumn() plan_expiration: Date; @ViewColumn() plan_status: number; @ViewColumn() total_requests: number; @ViewColumn() total_ratings: number; @ViewColumn() average_rating: number; }