@tomei/product
Version:
NestJS package for product module
49 lines (41 loc) • 946 B
text/typescript
import {
Column,
DataType,
ForeignKey,
Model,
Table,
CreatedAt,
UpdatedAt,
BelongsTo,
} from 'sequelize-typescript';
import { ProductModel } from './product.entity';
import { SettingsCollectionModel } from './settings-collection.entity';
export class ProductCollectionsModel extends Model {
ProductCollectionId: string;
ProductId: string;
Code: string;
Product: ProductModel;
ProductCollection: SettingsCollectionModel;
CreatedAt: Date;
UpdatedAt: Date;
}