Subversion Repositories SmartDukaan

Rev

Rev 21633 | Rev 21924 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21633 Rev 21640
Line 1... Line 1...
1
package com.spice.profitmandi.dao.model;
1
package com.spice.profitmandi.dao.model;
2
 
2
 
-
 
3
import in.shop2020.model.v1.catalog.ItemType;
-
 
4
 
3
public class ItemIdTypeQuantity {
5
public class ItemIdTypeQuantity {
4
	private int itemId;
6
	private int itemId;
5
	private String type;
7
	private ItemType type;
6
	private int quantity;
8
	private float quantity;
7
	
9
	
8
	public ItemIdTypeQuantity(int itemId, String type, int quantity){
10
	public ItemIdTypeQuantity(int itemId, ItemType type, float quantity){
9
		this.itemId = itemId;
11
		this.itemId = itemId;
10
		this.type = type;
12
		this.type = type;
11
		this.quantity = quantity;
13
		this.quantity = quantity;
12
	}
14
	}
13
	
15
	
Line 15... Line 17...
15
		return itemId;
17
		return itemId;
16
	}
18
	}
17
	public void setItemId(int itemId) {
19
	public void setItemId(int itemId) {
18
		this.itemId = itemId;
20
		this.itemId = itemId;
19
	}
21
	}
20
	public int getQuantity() {
22
	public float getQuantity() {
21
		return quantity;
23
		return quantity;
22
	}
24
	}
23
	public void setQuantity(int quantity) {
25
	public void setQuantity(float quantity) {
24
		this.quantity = quantity;
26
		this.quantity = quantity;
25
	}
27
	}
26
	public String getType() {
28
	public ItemType getType() {
27
		return type;
29
		return type;
28
	}
30
	}
29
	public void setType(String type) {
31
	public void setType(ItemType type) {
30
		this.type = type;
32
		this.type = type;
31
	}
33
	}
32
}
34
}