pricing tiers
This commit is contained in:
@@ -48,6 +48,12 @@ const Item = sequelize.define("Item", {
|
||||
pricePerDay: {
|
||||
type: DataTypes.DECIMAL(10, 2),
|
||||
},
|
||||
pricePerWeek: {
|
||||
type: DataTypes.DECIMAL(10, 2),
|
||||
},
|
||||
pricePerMonth: {
|
||||
type: DataTypes.DECIMAL(10, 2),
|
||||
},
|
||||
replacementCost: {
|
||||
type: DataTypes.DECIMAL(10, 2),
|
||||
allowNull: false,
|
||||
|
||||
@@ -33,6 +33,12 @@ const ItemRequestResponse = sequelize.define('ItemRequestResponse', {
|
||||
offerPricePerDay: {
|
||||
type: DataTypes.DECIMAL(10, 2)
|
||||
},
|
||||
offerPricePerWeek: {
|
||||
type: DataTypes.DECIMAL(10, 2)
|
||||
},
|
||||
offerPricePerMonth: {
|
||||
type: DataTypes.DECIMAL(10, 2)
|
||||
},
|
||||
availableStartDate: {
|
||||
type: DataTypes.DATE
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user