import { BaseEntity, Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity('customer_verifications')
export class CustomerVerifications extends BaseEntity {
  @PrimaryGeneratedColumn({
    comment: 'the unique identifier',
  })
  idCustomer_Verifications: number;

  @Column({
    type: 'int',
    nullable: false,
  })
  Customer_idCustomer: number;

  @Column({
    type: 'varchar',
    length: 45,
    nullable: false,
  })
  Date_Time: string;
  @Column({
    type: 'varchar',
    length: 45,
    nullable: false,
  })
  Evidence_Type: string;

  @Column({
    type: 'varchar',
    length: 45,
    nullable: false,
  })
  Status: string;
  @Column({
    type: 'text',
    nullable: false,
  })
  Note: string;

  @Column({
    type: 'varchar',
    length: 45,
    nullable: false,
  })
  Verification_Type: string;

  @Column({
    type: 'int',
    nullable: false,
  })
  User_idUser: number;
  @Column({
    type: 'varchar',
    length: 45,
    nullable: false,
  })
  Document: string;
}
