@tomei/product
Version:
NestJS package for product module
68 lines (52 loc) • 1.32 kB
text/typescript
import {
Column,
CreatedAt,
DataType,
Model,
Table,
UpdatedAt,
BelongsToMany,
} from 'sequelize-typescript';
import { ProductModel } from './product.entity';
import { StoreProductModel } from './store-product.entity';
export class StoreModel extends Model {
StoreId: string;
Brand: string;
Name: string;
Description: string;
Type: string;
URL: string;
Platform: string;
BuildingCode: string;
SSMarketplaceCode: string;
Status: string;
CreatedById: string;
CreatedAt: Date;
UpdatedById: string;
UpdatedAt: Date;
Products: ProductModel[];
}