Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Supplier s1 = new Supplier("s01", "katty", "red-farm", "katty@email.com", "32146486");
- spl.add(s1);
- Supplier s2 = new Supplier("s02", "brown", "romannie ltd.co.", "brown@email.com", "62314658");
- spl.add(s2);
- Supplier s3 = new Supplier("s03", "cathy", "drinking co.", "cathy@email.com", "72134695");
- spl.add(s3);
- Product p1 = new Product(s1 ,"p01" , "apple", "W" , 101 , 2.5 , 0.0, 5, 0.2);
- ppl.add(p1);
- Product p2 = new Product(s1 ,"p02" , "banana" , "W" , 102 , 2.0 , 0.0, 5, 0.0);
- ppl.add(p2);
- Product p3 = new Product(s2 ,"p01" , "chips", "U" , 103 , 3.0 , 50, 0.2, 0, 0.0);
- ppl.add(p3);
- Product p4 = new Product(s3 ,"p02" , "cola" , "U" , 104 , 1.5 , 50, 0.0, 5, 0.1);
- ppl.add(p4);
- Customer c1 = new Customer("John", "c01" , "125 therry st", 352134, 'M', "12/02/1973", "John@email.com", 0.0, "qwert001");
- cul.add(c1);
- Customer c2 = new Customer("Sonia", "c02" , "213 chennel st", 462531, 'F', "02/07/1966", "sonia@email.com", 0.0, "qaz111");
- cul.add(c2);
- Customer c3 = new Customer("Jack", "c03" , "25 queen st", 2531135, 'M', "21/09/1986", "jack@email.com", 0.0, "casl001");
- cul.add(c3);
- Customer c4 = new Customer("David", "c04" , "111 broow st", 7452631, 'M', "15/10/1976", "David@email.com", 0.0, "sk2314");
- cul.add(c4);
- Customer c5 = new Customer("Janny", "c05" , "65 hill st", 6354921, 'F', "05/01/1967", "email@email.com", 0.0, "tt4143");
- cul.add(c5);
- Warehouse wa1 = new Warehouse(p1, 100, 30, 100);
- wal.add(wa1);
- Warehouse wa2 = new Warehouse(p2, 100, 30, 100);
- wal.add(wa2);
- Warehouse wa3 = new Warehouse(p3, 100, 30, 100);
- wal.add(wa3);
- Warehouse wa4 = new Warehouse(p4, 100, 30, 100);
- wal.add(wa4);
- Manager m1 = new Manager("m1","Boss","manager","M","15/10/1976","Boss@email.com",3142652,"boss!123");
- mspl.add(m1);
- SalesStaff ss1 = new SalesStaff("s1","ivy","salestaff","F","17/05/1989","ivy@email.com",31546521,"qwe321");
- sspl.add(ss1);
- WarehouseStaff ws1 = new WarehouseStaff("w1","eric","WarehouseStaff","M","11/03/1973","eric@email.com",421314562,"evac1231");
- wspl.add(ws1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement