@tomei/product
Version:
NestJS package for product module
41 lines (34 loc) • 716 B
text/typescript
import {
Column,
CreatedAt,
UpdatedAt,
DataType,
Table,
Model,
BelongsTo,
ForeignKey,
} from 'sequelize-typescript';
import { ProductModel } from './product.entity';
export class ProductCustomizeOptionModel extends Model {
CustomizeOptionId: string;
ProductId: string;
Option: string;
CreatedAt: Date;
UpdatedAt: Date;
Product: ProductModel;
}