@tomei/customer-base
Version:
Tomei Customer Base Package
50 lines (37 loc) • 1.22 kB
text/typescript
import {
Table,
Model,
Column,
DataType,
ForeignKey,
BelongsTo,
} from 'sequelize-typescript';
import { CustomerBaseModel } from './customer-base.entity';
export class CustomerIndividualModel extends Model {
CustomerId: string;
FullName: string;
IdType: string;
IdNo: string;
Title: string;
PreferredName: string;
Birthdate: Date;
Gender: 'Male' | 'Female';
Ethnicity: string;
Nationality: string;
PreferredLanguage: string;
CustomerBase: CustomerBaseModel;
}