make difference between door lock charges related to reservations and standalone incidents

This commit is contained in:
Bilal Catic
2019-07-07 00:28:39 +02:00
parent 72bb874d85
commit 5d3653cd65
8 changed files with 162 additions and 84 deletions

View File

@@ -21,6 +21,7 @@ module.exports = (sequelize, DataTypes) => {
]
},
incidentLevelPrice: DataTypes.FLOAT,
unlockTimestamp: DataTypes.DATE,
}, {});
unlockedIncident.associate = function(models) {
// associations can be defined here

View File

@@ -17,6 +17,8 @@ module.exports = (sequelize, DataTypes) => {
chargePrice: DataTypes.FLOAT,
timeIntervalsToCharge: DataTypes.INTEGER,
totalChargeFee: DataTypes.FLOAT,
unlockTimestamp: DataTypes.DATE,
lockTimestamp: DataTypes.DATE,
}, {});
unscheduledIncident.associate = function(models) {
// associations can be defined here