import { Column, Entity } from 'typeorm'; import { AbstractEntity } from '@/entities/abstract'; @Entity({ name: 'google_shopping_offer_history' }) export default class GoogleShoppingOfferHistory extends AbstractEntity { @Column({ type: 'varchar', nullable: false, }) googleShoppingId!: string; @Column({ type: 'varchar', nullable: false, }) url!: string; @Column({ type: 'float', }) price!: number; }