Esempio n. 1
0
 public Product(Room room, FurnitureType type, Series series, decimal price, int manufacturingTime, double weight)
 {
     this.Id                    = ObjectId.GenerateNewId().ToString();
     this.Room                  = room;
     this.FurnitureType         = type;
     this.Series                = series;
     this.Price                 = price;
     this.ManufacturingLeadTime = manufacturingTime;
     this.Weight                = weight;
 }
 public Product(Room room, FurnitureType type, Series series, decimal price, int manufacturingTime, double weight)
 {
     this.Id = ObjectId.GenerateNewId().ToString();
     this.Room = room;
     this.FurnitureType = type;
     this.Series = series;
     this.Price = price;
     this.ManufacturingLeadTime = manufacturingTime;
     this.Weight = weight;
 }