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

@Entity('merchant_documents')
export class MerchantDocumnets extends BaseEntity {
  @PrimaryGeneratedColumn({
    comment: 'the unique identifier',
  })
  idMerchant_Document: number;

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

  @Column({
    type: 'varchar',
    length: 45,
    nullable: true,
  })
  Description: string;

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

  @Column({
    type: 'varchar',
    length: 45,
    default: '0',
  })
  Verification_Status: string;

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

  @Column({
    type: 'varchar',
    length: 45,
    nullable: true,
  })
  Created_Time: string;

  @Column({
    type: 'varchar',
    length: 45,
    nullable: true,
  })
  Approved_Time: string;
}
