SHARE
TWEET

Untitled

a guest May 22nd, 2017 523 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Supplier s1 = new Supplier("s01", "katty", "red-farm", "katty@email.com", "32146486");
  2.             spl.add(s1);
  3.             Supplier s2 = new Supplier("s02", "brown", "romannie ltd.co.", "brown@email.com", "62314658");
  4.             spl.add(s2);
  5.             Supplier s3 = new Supplier("s03", "cathy", "drinking co.", "cathy@email.com", "72134695");
  6.             spl.add(s3);
  7.  
  8.  
  9.  
  10.             Product p1 = new Product(s1 ,"p01" , "apple", "W" , 101 , 2.5 , 0.0, 5, 0.2);
  11.             ppl.add(p1);
  12.             Product p2 = new Product(s1 ,"p02" , "banana" , "W" , 102 , 2.0 , 0.0, 5, 0.0);
  13.             ppl.add(p2);
  14.             Product p3 = new Product(s2 ,"p01" , "chips", "U" , 103 , 3.0 , 50, 0.2, 0, 0.0);
  15.             ppl.add(p3);
  16.             Product p4 = new Product(s3 ,"p02" , "cola" , "U" , 104 , 1.5 , 50, 0.0, 5, 0.1);
  17.             ppl.add(p4);
  18.            
  19.            
  20.            
  21.             Customer c1 = new Customer("John", "c01" , "125 therry st", 352134, 'M', "12/02/1973", "John@email.com", 0.0, "qwert001");
  22.             cul.add(c1);
  23.             Customer c2 = new Customer("Sonia", "c02" , "213 chennel st", 462531, 'F', "02/07/1966", "sonia@email.com", 0.0, "qaz111");
  24.             cul.add(c2);
  25.             Customer c3 = new Customer("Jack", "c03" , "25 queen st", 2531135, 'M', "21/09/1986", "jack@email.com", 0.0, "casl001");
  26.             cul.add(c3);
  27.             Customer c4 = new Customer("David", "c04" , "111 broow st", 7452631, 'M', "15/10/1976", "David@email.com", 0.0, "sk2314");
  28.             cul.add(c4);
  29.             Customer c5 = new Customer("Janny", "c05" , "65 hill st", 6354921, 'F', "05/01/1967", "email@email.com", 0.0, "tt4143");
  30.             cul.add(c5);
  31.            
  32.             Warehouse wa1 = new Warehouse(p1, 100, 30, 100);
  33.             wal.add(wa1);
  34.             Warehouse wa2 = new Warehouse(p2, 100, 30, 100);
  35.             wal.add(wa2);
  36.             Warehouse wa3 = new Warehouse(p3, 100, 30, 100);
  37.             wal.add(wa3);
  38.             Warehouse wa4 = new Warehouse(p4, 100, 30, 100);
  39.             wal.add(wa4);
  40.            
  41.             Manager m1 = new Manager("m1","Boss","manager","M","15/10/1976","Boss@email.com",3142652,"boss!123");
  42.             mspl.add(m1);
  43.             SalesStaff ss1 = new SalesStaff("s1","ivy","salestaff","F","17/05/1989","ivy@email.com",31546521,"qwe321");
  44.             sspl.add(ss1);
  45.             WarehouseStaff ws1 = new WarehouseStaff("w1","eric","WarehouseStaff","M","11/03/1973","eric@email.com",421314562,"evac1231");
  46.             wspl.add(ws1);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top