import { Column, Entity } from 'typeorm'; import { RawScrapedEntity } from '@/entities/abstract'; import { RawGoogleShoppingOffersDataV1 } from './types'; @Entity({ name: 'raw_google_shopping_offers' }) export default class RawGoogleShoppingOffers extends RawScrapedEntity { @Column({ type: 'varchar', nullable: false, }) googleShoppingId!: string; @Column({ type: 'jsonb', nullable: false }) rawData!: RawGoogleShoppingOffersDataV1; }