UNPKG

restaurantt

Version:

This package contains a backend of what would be the logic of a restaurant software

29 lines (21 loc) 429 B
const { DTODish } = require("./DTODish"); class DTOIngredients { IDIngredientt=0; Dishh=new DTODish(); NameI=""; CostI=0; QuantityI=0; Amount() { let amount=0,cost=0,quantity=0; cost=this.CostI; quantity=this.QuantityI; amount=cost*quantity; return amount } constructor() { } } module.exports = { DTOIngredients };