Subversion Repositories SmartDukaan

Rev

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

Rev 23796 Rev 23847
Line 33... Line 33...
33
	private int id;
33
	private int id;
34
	
34
	
35
	@Column(name="code", unique = true)
35
	@Column(name="code", unique = true)
36
	private String code;
36
	private String code;
37
	
37
	
-
 
38
	@Column(name = "latitude")
-
 
39
	private String latitude;
-
 
40
	
-
 
41
	@Column(name = "longitude")
-
 
42
	private String longitude;
-
 
43
	
38
	@Column(name="counter_size")
44
	@Column(name="counter_size")
39
	@Enumerated(EnumType.STRING)
45
	@Enumerated(EnumType.STRING)
40
	private CounterSize counterSize = CounterSize.TEN_LAC;
46
	private CounterSize counterSize = CounterSize.TEN_LAC;
41
	
47
	
42
	//Number of days to realise money.
48
	//Number of days to realise money.
Line 71... Line 77...
71
	}
77
	}
72
    
78
    
73
    public void setCode(String code) {
79
    public void setCode(String code) {
74
		this.code = code;
80
		this.code = code;
75
	}
81
	}
-
 
82
    
-
 
83
    public String getLatitude() {
-
 
84
		return latitude;
-
 
85
	}
-
 
86
    
-
 
87
    public void setLatitude(String latitude) {
-
 
88
		this.latitude = latitude;
-
 
89
	}
-
 
90
    
-
 
91
    public String getLongitude() {
-
 
92
		return longitude;
-
 
93
	}
-
 
94
    
-
 
95
    public void setLongitude(String longitude) {
-
 
96
		this.longitude = longitude;
-
 
97
	}
-
 
98
    
76
	
99
	
77
	public Address getUserAddress() {
100
	public Address getUserAddress() {
78
		return userAddress;
101
		return userAddress;
79
	}
102
	}
80
	public void setUserAddress(Address userAddress) {
103
	public void setUserAddress(Address userAddress) {
Line 98... Line 121...
98
		FofoStore other = (FofoStore) obj;
121
		FofoStore other = (FofoStore) obj;
99
		if (id != other.id)
122
		if (id != other.id)
100
			return false;
123
			return false;
101
		return true;
124
		return true;
102
	}
125
	}
-
 
126
	
103
	@Override
127
	@Override
104
	public String toString() {
128
	public String toString() {
105
		return "FofoStore [id=" + id + ", code=" + code + ", counterSize=" + counterSize
129
		return "FofoStore [id=" + id + ", code=" + code + ", counterSize=" + counterSize
106
				+ ", userAddress=" + userAddress + "]";
130
				+ ", userAddress=" + userAddress + "]";
107
	}
131
	}
108
	
132
	
-
 
133
	
-
 
134
	
109
        
135
        
110
}
136
}
111
137