Example #1
0
 public Computer(Guid serialNumber, string description, DateTime dateOfBuy, DateTime guarantyMonths, decimal price,
                 bool hasBatteries, ManufacturerComp manufacturerComputer, string systemInfo, bool isLaptop)
     : base(serialNumber, description, dateOfBuy, guarantyMonths, price, hasBatteries, manufacturerComputer)
 {
     this.SystemInfo = systemInfo;
     this.IsLaptop   = isLaptop;
 }
Example #2
0
 public Phone(Guid serialNumber, string description, DateTime dateOfBuy, DateTime guarantyMonths, decimal price,
              bool hasBatteries, ManufacturerComp manufacturerPhone, string phoneNumber, string nameSurname)
     : base(serialNumber, description, dateOfBuy, guarantyMonths, price, hasBatteries, manufacturerPhone)
 {
     this.PhoneNumber = phoneNumber;
     this.NameSurname = nameSurname;
 }
Example #3
0
 public TechEquipment(Guid serialNumber, string description, DateTime dateOfBuy, DateTime guarantyMonths, decimal price,
                      bool hasBatteries, ManufacturerComp manufacturerComp) : base(serialNumber, description, dateOfBuy, guarantyMonths, price)
 {
     this.HasBatteries = hasBatteries;
     this.ManufactComp = manufacturerComp;
 }