import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity({ name: 'newsurve__surves' })
export class NewsurveSurvesEntity {
  @PrimaryGeneratedColumn()
  id: number; // Primary Key

  @Column({ type: 'int', nullable: false })
  user_id: number;

  @Column({ type: 'int', nullable: true })
  location: number;

  @Column({ type: 'text', nullable: true })
  standard_name: string;

  @Column({ type: 'int', nullable: true })
  client_type: number;

  @Column({ type: 'int', nullable: true })
  country_name: number;

  @Column({ nullable: true })
  company_name: string;

  @Column({ nullable: true })
  contact_primary: string;

  @Column({ nullable: true })
  designationpr: string;

  @Column({ nullable: true })
  contact_second: string;

  @Column({ nullable: true })
  designationsec: string;

  @Column({ nullable: true })
  telephone: string;

  @Column({ nullable: true })
  mobile_no: string;

  @Column({ nullable: true })
  Address: string;

  @Column({ nullable: true })
  email_id: string;

  @Column({ nullable: true })
  company_sector: string;

  @Column({ nullable: true })
  trade_license: string;

  @Column({ nullable: true })
  vat_no: string;

  @Column({ nullable: true })
  site_no: string;

  @Column({ nullable: true })
  branch_no: string;

  @Column({ nullable: true })
  head_office: string;

  @Column({ nullable: true })
  employee_no: string;

  @Column({ nullable: true })
  contact_finance: string;

  @Column({ nullable: true })
  email_finance: string;
}
