Add cancelation charges
This commit is contained in:
19
models/bookingChangeIncident.js
Normal file
19
models/bookingChangeIncident.js
Normal file
@@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = (sequelize, DataTypes) => {
|
||||
const bookingChangeIncident = sequelize.define('bookingChangeIncident', {
|
||||
reservationId: DataTypes.TEXT,
|
||||
memberId: DataTypes.TEXT,
|
||||
resourceId: DataTypes.TEXT,
|
||||
oldBookingStart: DataTypes.DATE,
|
||||
oldBookingEnd: DataTypes.DATE,
|
||||
newBookingStart: DataTypes.DATE,
|
||||
newBookingEnd: DataTypes.DATE,
|
||||
incidentType: DataTypes.INTEGER,
|
||||
chargeFee: DataTypes.FLOAT,
|
||||
}, {});
|
||||
bookingChangeIncident.associate = function(models) {
|
||||
// associations can be defined here
|
||||
};
|
||||
return bookingChangeIncident;
|
||||
};
|
||||
Reference in New Issue
Block a user