Пример #1
0
 public ClassOrder()
 {
     date         = DateTime.Now;
     price        = 0;
     customerRate = 0;
     supplierRate = 0;
     ownProfit    = 0;
     volume       = 0;
     customer     = new ClassCustomer();
     supplier     = new ClassSupplier();
 }
Пример #2
0
 public ClassCustomer(ClassCustomer inCustomer)
 {
     Id         = inCustomer.Id;
     name       = inCustomer.name;
     address    = inCustomer.address;
     city       = inCustomer.city;
     postalCode = inCustomer.postalCode;
     country    = inCustomer.country;
     phone      = inCustomer.phone;
     mailAdr    = inCustomer.mailAdr;
 }