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

@Entity('shop_item_sub_category')
export class ShopItemSubCategory extends BaseEntity {
  @PrimaryGeneratedColumn({
    comment: 'the unique identifier',
  })
  idShopItemSubCategory: number;
  @Column({
    type: 'varchar',
    length: 45,
    nullable: true,
  })
  Description: string;
  @Column({
    type: 'varchar',
    length: 45,
    nullable: true,
  })
  Icon_Path: string;

  @Column({
    type: 'int',
    nullable: true,
  })
  Shop_Item_Category_idShop_Item_Category: string;

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