Subversion Repositories SmartDukaan

Rev

Rev 490 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 490 Rev 616
Line 1... Line 1...
1
package in.shop2020.support.models;
1
package in.shop2020.support.models;
2
import com.thoughtworks.xstream.annotations.XStreamAlias;
2
import com.thoughtworks.xstream.annotations.XStreamAlias;
3
 
3
 
4
@XStreamAlias("update")
4
@XStreamAlias("update")
5
public class Update {
5
public class Update {
6
	private String skuId;
6
	private String brand;
-
 
7
	private String model;
-
 
8
	private String color;
7
	private String quantity;
9
	private String quantity;
8
	private String timestamp;
10
	private String timestamp;
9
	
11
 
10
	public void setSkuId(String skuId) {
12
	public void setBrand(String brand) {
11
		this.skuId = skuId;
13
		this.brand = brand;
-
 
14
	}
-
 
15
	public String getBrand() {
-
 
16
		return brand;
-
 
17
	}
-
 
18
	public void setModel(String model) {
-
 
19
		this.model = model;
-
 
20
	}
-
 
21
	public String getModel() {
-
 
22
		return model;
-
 
23
	}
-
 
24
	public void setColor(String color) {
-
 
25
		this.color = color;
12
	}
26
	}
13
	public String getSkuId() {
27
	public String getColor() {
14
		return skuId;
28
		return color;
15
	}
29
	}
16
	public void setQuantity(String quantity) {
30
	public void setQuantity(String quantity) {
17
		this.quantity = quantity;
31
		this.quantity = quantity;
18
	}
32
	}
19
	public String getQuantity() {
33
	public String getQuantity() {
Line 24... Line 38...
24
	}
38
	}
25
	public String getTimestamp() {
39
	public String getTimestamp() {
26
		return timestamp;
40
		return timestamp;
27
	}
41
	}
28
	public String toString() {
42
	public String toString() {
29
		return this.skuId+":"+this.quantity+":"+this.timestamp;
43
		return this.brand+":" + this.model + ":" + this.color + ":" + this.quantity + ":" + this.timestamp;
30
	}
44
	}
31
}
45
}