import { BaseEntity, Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity('merchant_has_categories')
export class MerchantHasCategories extends BaseEntity {
  @PrimaryGeneratedColumn({
    comment: 'the unique identifier',
  })
  idMerchantHasCategory: number;

  @Column({
    type: 'int',
    nullable: false,
  })
  Merchant_idMerchant: number;

  @Column({
    type: 'int',
    nullable: false,
  })
  MerchantCategory_idMerchantCategory: number;
}
