Subversion Repositories SmartDukaan

Rev

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

Rev 23222 Rev 24099
Line 38... Line 38...
38
	private Integer addressId;
38
	private Integer addressId;
39
	
39
	
40
	@Column(name = "active_cart_id")
40
	@Column(name = "active_cart_id")
41
	private int activeCartId;
41
	private int activeCartId;
42
	
42
	
-
 
43
	@Column(name = "password")
-
 
44
	private int password;
-
 
45
	
-
 
46
	public int getPassword() {
-
 
47
		return password;
-
 
48
	}
-
 
49
 
-
 
50
	public void setPassword(int password) {
-
 
51
		this.password = password;
-
 
52
	}
-
 
53
 
43
	@Column(name = "active_since")
54
	@Column(name = "active_since")
44
	private LocalDateTime createTimestamp;
55
	private LocalDateTime createTimestamp;
-
 
56
	
-
 
57
	@Column(name="location_id")
-
 
58
	private Integer location;
45
 
59
 
46
	public int getId() {
60
	public int getId() {
47
		return id;
61
		return id;
48
	}
62
	}
49
 
63
 
50
	public void setId(int id) {
64
	public void setId(int id) {
51
		this.id = id;
65
		this.id = id;
52
	}
66
	}
53
 
67
 
-
 
68
	public void setAddressId(Integer addressId) {
-
 
69
		this.addressId = addressId;
-
 
70
	}
-
 
71
 
54
	public String getName() {
72
	public String getName() {
55
		return name;
73
		return name;
56
	}
74
	}
57
 
75
 
58
	public void setName(String name) {
76
	public void setName(String name) {
Line 87... Line 105...
87
		return createTimestamp;
105
		return createTimestamp;
88
	}
106
	}
89
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
107
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
90
		this.createTimestamp = createTimestamp;
108
		this.createTimestamp = createTimestamp;
91
	}
109
	}
-
 
110
	
-
 
111
	
-
 
112
 
-
 
113
	public Integer getLocation() {
-
 
114
		return location;
-
 
115
	}
-
 
116
 
-
 
117
	public void setLocation(Integer location) {
-
 
118
		this.location = location;
-
 
119
	}
92
 
120
 
93
	@Override
121
	@Override
94
	public int hashCode() {
122
	public int hashCode() {
95
		final int prime = 31;
123
		final int prime = 31;
96
		int result = 1;
124
		int result = 1;
Line 113... Line 141...
113
	}
141
	}
114
 
142
 
115
	@Override
143
	@Override
116
	public String toString() {
144
	public String toString() {
117
		return "User [id=" + id + ", name=" + name + ", emailId=" + emailId + ", addressId=" + addressId
145
		return "User [id=" + id + ", name=" + name + ", emailId=" + emailId + ", addressId=" + addressId
118
				+ ", activeCartId=" + activeCartId + ", createTimestamp=" + createTimestamp + "]";
146
				+ ", activeCartId=" + activeCartId + ", createTimestamp=" + createTimestamp + ", location=" + location
-
 
147
				+ "]";
119
	}
148
	}
120
	
149
	
121
 
150
 
122
}
151
}