@tomei/customer-base
Version:
Tomei Customer Base Package
39 lines (29 loc) • 886 B
text/typescript
import {
Table,
Model,
Column,
DataType,
CreatedAt,
UpdatedAt,
} from 'sequelize-typescript';
@Table({ tableName: 'customer_SyncPolicy', timestamps: true })
export class CustomerSyncPolicyModel extends Model {
@Column({ primaryKey: true, allowNull: false, type: DataType.STRING(30) })
SyncPolicyId: string;
@Column({ allowNull: false, type: DataType.STRING(5) })
SourceSystemCode: string;
@Column({ allowNull: false, type: DataType.STRING(5) })
TargetSystemCode: string;
@Column({ allowNull: false, type: DataType.STRING(1) })
AllowInsertYN: string;
@Column({ allowNull: false, type: DataType.STRING(1) })
AllowUpdateYN: string;
@Column({ allowNull: true, type: DataType.TEXT })
Reason: string;
@Column({ allowNull: false, type: DataType.STRING(1) })
IsActiveYN: string;
@CreatedAt
CreatedAt: Date;
@UpdatedAt
UpdatedAt: Date;
}