Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public void AddLegalInformation(LegalInformationType type, DateTime dueDate, DateTime dateOfRenovation)
 {
     LegalInformation.AddLegalInformation(type, dueDate, dateOfRenovation);
 }