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

@Entity('merchant_location')
export class MerchantLocation extends BaseEntity {
  @PrimaryGeneratedColumn({
    comment: 'the unique identifier',
  })
  idMerchant_Location: number;
  @Column({
    type: 'varchar',
    length: 255,
    nullable: false,
  })
  Description: string;

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

  @Column({
    type: 'varchar',
    length: 255,
    nullable: false,
  })
  Address_Link: string;
  @Column({
    type: 'int',
    nullable: false,
  })
  Merchant_idMerchant: number;

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