import { ViewEntity, ViewColumn } from "typeorm"; @ViewEntity({ name: "partners", }) export class Partners { @ViewColumn() id: number; @ViewColumn() company: number; @ViewColumn() code: string; @ViewColumn() document: string; @ViewColumn() name: string; @ViewColumn() surname: string; @ViewColumn() full_name: string; @ViewColumn() email: string; @ViewColumn() phone: string; @ViewColumn() city: number; @ViewColumn() address: string; @ViewColumn() profile: any; @ViewColumn() owner: number; @ViewColumn() created: Date; @ViewColumn() updated: Date; @ViewColumn() status: number; @ViewColumn() visible: number; @ViewColumn() city_region: number; @ViewColumn() city_name: string; @ViewColumn() city_status: number; @ViewColumn() region_country: number; @ViewColumn() region_name: string; @ViewColumn() region_status: number; @ViewColumn() country_id: number; @ViewColumn() country_code: string; @ViewColumn() country_name: string; @ViewColumn() country_currency: string; @ViewColumn() country_prefix: string; @ViewColumn() country_structure_phone: string; @ViewColumn() country_details: any; @ViewColumn() country_status: number; @ViewColumn() assigned_local: number; }