@tomei/product
Version:
NestJS package for product module
44 lines (36 loc) • 773 B
text/typescript
import {
Column,
CreatedAt,
UpdatedAt,
DataType,
Table,
Model,
BelongsTo,
ForeignKey,
} from 'sequelize-typescript';
import { ProductModel } from './product.entity';
export class ProductCertificateModel extends Model {
CertificateId: string;
ProductId: string;
Name: string;
Description: string;
CreatedAt: Date;
UpdatedAt: Date;
Product: ProductModel;
}