add sample items
This commit is contained in:
parent
cd23cffd7d
commit
12a15ba386
1 changed files with 17 additions and 0 deletions
|
@ -4,10 +4,27 @@
|
||||||
*/
|
*/
|
||||||
package tech.iBeans.POSware.Lite;
|
package tech.iBeans.POSware.Lite;
|
||||||
|
|
||||||
|
import java.util.Dictionary;
|
||||||
|
import java.util.Hashtable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author eleven
|
* @author eleven
|
||||||
*/
|
*/
|
||||||
public class data_test {
|
public class data_test {
|
||||||
|
public static Dictionary<String, Dictionary> fake_items = new Hashtable<>();
|
||||||
|
|
||||||
|
static {
|
||||||
|
/* Fake items. */
|
||||||
|
Dictionary item_1 = new Hashtable<>();
|
||||||
|
item_1.put("Name", "No Discount");
|
||||||
|
item_1.put("Price", 1);
|
||||||
|
fake_items.put("13f", item_1);
|
||||||
|
|
||||||
|
Dictionary item_2 = new Hashtable<>();
|
||||||
|
item_1.put("Name", "With Discount");
|
||||||
|
item_1.put("Price", 1);
|
||||||
|
item_1.put("Discount", 0.95);
|
||||||
|
fake_items.put("13a", item_1);
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue