Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
490 rajveer 1
package in.shop2020.support.models;
2
import com.thoughtworks.xstream.annotations.XStreamAlias;
3
 
4
@XStreamAlias("update")
5
public class Update {
616 chandransh 6
	private String brand;
7
	private String model;
8
	private String color;
490 rajveer 9
	private String quantity;
10
	private String timestamp;
616 chandransh 11
 
12
	public void setBrand(String brand) {
13
		this.brand = brand;
490 rajveer 14
	}
616 chandransh 15
	public String getBrand() {
16
		return brand;
490 rajveer 17
	}
616 chandransh 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;
26
	}
27
	public String getColor() {
28
		return color;
29
	}
490 rajveer 30
	public void setQuantity(String quantity) {
31
		this.quantity = quantity;
32
	}
33
	public String getQuantity() {
34
		return quantity;
35
	}
36
	public void setTimestamp(String timestamp) {
37
		this.timestamp = timestamp;
38
	}
39
	public String getTimestamp() {
40
		return timestamp;
41
	}
42
	public String toString() {
616 chandransh 43
		return this.brand+":" + this.model + ":" + this.color + ":" + this.quantity + ":" + this.timestamp;
490 rajveer 44
	}
45
}