@tomei/product
Version:
NestJS package for product module
47 lines (38 loc) • 870 B
text/typescript
import {
Model,
Table,
Column,
DataType,
ForeignKey,
CreatedAt,
UpdatedAt,
BelongsTo,
} from 'sequelize-typescript';
import { ProductModel } from './product.entity';
export class ProductMaterialModel extends Model {
MaterialId: string;
ProductId: string;
Material: string;
Type: string;
IsMainYN: string;
CreatedAt: Date;
UpdatedAt: Date;
Product: ProductModel;
}