示例#1
0
 public ClassOrder()
 {
     date         = DateTime.Now;
     price        = 0;
     customerRate = 0;
     supplierRate = 0;
     ownProfit    = 0;
     volume       = 0;
     customer     = new ClassCustomer();
     supplier     = new ClassSupplier();
 }
 public ClassSupplier(ClassSupplier inSupplier)
 {
     Id          = inSupplier.Id;
     firmName    = inSupplier.firmName;
     contactName = inSupplier.contactName;
     address     = inSupplier.address;
     city        = inSupplier.city;
     postalCode  = inSupplier.postalCode;
     country     = inSupplier.country;
     phone       = inSupplier.phone;
     mailAdr     = inSupplier.mailAdr;
 }