UNPKG

@tomei/customer-base

Version:

Tomei Customer Base Package

33 lines (25 loc) 759 B
import { Table, Model, Column, DataType, CreatedAt, UpdatedAt, } from 'sequelize-typescript'; @Table({ tableName: 'customer_RegisteredSystem' }) export class CustomerRegisteredSystemModel extends Model { @Column({ primaryKey: true, allowNull: false, type: DataType.STRING(5) }) declare SystemCode: string; @Column({ allowNull: true, type: DataType.STRING(20) }) declare SystemName: string; @Column({ allowNull: false, type: DataType.STRING(1) }) declare IsActiveYN: string; @Column({ allowNull: false, type: DataType.STRING(1) }) declare WantsSyncYN: string; @Column({ allowNull: false, type: DataType.TEXT }) declare WebhookURL: string; @CreatedAt declare CreatedAt: Date; @UpdatedAt declare UpdatedAt: Date; }