示例#1
0
文件: Vehicle.cs 项目: cantte/Russell
        public Vehicle(string licensePlate, string internalNumber, string propertyCardNumber, Employee owner, Employee driver)
        {
            LicensePlate       = licensePlate;
            InternalNumber     = internalNumber;
            PropertyCardNumber = propertyCardNumber;

            Feature          = new VehicleFeature();
            Imprint          = new Imprint();
            LegalInformation = new LegalInformation();

            Owner  = owner;
            Driver = driver;
        }
示例#2
0
文件: Vehicle.cs 项目: cantte/Russell
 public void AddLegalInformation(LegalInformationType type, DateTime dueDate, DateTime dateOfRenovation)
 {
     LegalInformation.AddLegalInformation(type, dueDate, dateOfRenovation);
 }