Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PackSizeModel {
- // here some variable you need to store on the pack size
- private String size;
- private float price;
- // I don't know what's the type (string, int, float) of your datas...
- // here the constructors
- public PackSizeModel() { }
- public PackSizeModel(String size, float price) {
- this.setSize(size);
- this.setPrice(price);
- }
- // setters
- public void setSize(String size) {
- this.size = size;
- }
- public void setPrice(float price) {
- this.price = price;
- }
- // your actual getters
- public String getPackSize_packSize() {
- return this.size;
- }
- public float getPackSize_sellingPrice() {
- return this.price;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement