예제 #1
1
파일: Rent.cs 프로젝트: Bang0123/SWC2sem
 public Rent(Vehicle whatVehicle, Customer whatCustomer, DateTime fromDate, DateTime toDate)
 {
     WhatVehicle = whatVehicle;
     WhatCustomer = whatCustomer;
     FromDate = fromDate;
     ToDate = toDate;
 }
예제 #2
1
 public AdditionalEquipment(Vehicle vehicle, string disc, string name, string type, Price price)
 {
     Vehicle = vehicle;
     Disc = disc;
     Name = name;
     Type = type;
     Price = price;
 }