Subversion Repositories SmartDukaan

Rev

Rev 27701 | Rev 28166 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
22653 ashik.ali 1
package com.spice.profitmandi.dao.entity.fofo;
22418 ashik.ali 2
 
3
import java.io.Serializable;
24349 amit.gupta 4
import java.time.LocalDate;
22418 ashik.ali 5
 
6
import javax.persistence.Column;
7
import javax.persistence.Entity;
23786 amit.gupta 8
import javax.persistence.EnumType;
9
import javax.persistence.Enumerated;
22418 ashik.ali 10
import javax.persistence.Id;
27556 tejbeer 11
import javax.persistence.NamedQueries;
12
import javax.persistence.NamedQuery;
22418 ashik.ali 13
import javax.persistence.Table;
23786 amit.gupta 14
import javax.persistence.Transient;
22418 ashik.ali 15
 
23786 amit.gupta 16
import com.spice.profitmandi.common.enumuration.CounterSize;
17
import com.spice.profitmandi.dao.entity.user.Address;
18
 
22418 ashik.ali 19
/**
20
 * This class basically contains store code details
21
 * 
22
 * @author ashikali
23
 *
24
 */
25
@Entity
27556 tejbeer 26
@Table(name = "fofo.fofo_store", schema = "fofo")
27
 
28
@NamedQueries({
29
 
27594 tejbeer 30
		@NamedQuery(name = "FofoStore.selectGroupByBrandWarehousePartnerSale", query = "select new com.spice.profitmandi.dao.model.BrandWisePartnerSaleModel(foi.brand, "
31
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :lms then CAST(foi.quantity*foi.mop  AS int) else 0 end),"
32
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :lms then foi.quantity  else 0 end),"
33
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :mtd  then CAST(foi.quantity*foi.mop  AS int) else 0 end),"
34
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :mtd  then foi.quantity else 0 end), "
35
				+ "sum(case when foi.createTimestamp between  :lmtdStartDate and :lmtdEndDate  then CAST(foi.quantity*foi.mop  AS int) else 0 end), "
36
				+ "sum(case when foi.createTimestamp between  :lmtdStartDate and :lmtdEndDate then foi.quantity else 0 end))"
37
				+ " from FofoStore fs join FofoOrder fo on fs.id = fo.fofoId join FofoOrderItem foi on foi.orderId = fo.id  join Item i on i.id = foi.itemId  where fo.cancelledTimestamp is null and fs.active = true "
27701 tejbeer 38
				+ "and foi.createTimestamp >= :lmtdStartDate and i.categoryId = :categoryId and fs.id in :fofoId"
39
				+ " group by foi.brand"),
27594 tejbeer 40
 
27592 tejbeer 41
		@NamedQuery(name = "FofoStore.selectGroupByWarehouseBrandWisePartnerSale", query = "select new com.spice.profitmandi.dao.model.WarehouseWiseBrandSaleModel("
42
				+ "(case when a.city in ('Noida', 'Ghaziabad')  and foi.brand = 'Vivo' then 7573 else fs.warehouseId end) AS col_0_0_,"
27574 tejbeer 43
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :lms then CAST(foi.quantity*foi.mop  AS int) else 0 end),"
44
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :lms then foi.quantity  else 0 end),"
45
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :mtd  then CAST(foi.quantity*foi.mop  AS int) else 0 end),"
46
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :mtd  then foi.quantity else 0 end), "
47
				+ "sum(case when foi.createTimestamp between  :lmtdStartDate and :lmtdEndDate  then CAST(foi.quantity*foi.mop  AS int) else 0 end), "
48
				+ "sum(case when foi.createTimestamp between  :lmtdStartDate and :lmtdEndDate then foi.quantity else 0 end))"
27592 tejbeer 49
				+ " from FofoStore fs join FofoOrder fo on fs.id = fo.fofoId join FofoOrderItem foi on foi.orderId = fo.id  join Item i on i.id = foi.itemId"
50
				+ " join com.spice.profitmandi.dao.entity.user.User u on u.id = fs.id join Address a on a.id = u.addressId"
51
				+ " where fo.cancelledTimestamp is null and fs.active = true"
27701 tejbeer 52
				+ " and foi.createTimestamp >= :lmtdStartDate and foi.brand = :brand and i.categoryId = :categoryId and fs.id in :fofoId"
27592 tejbeer 53
				+ " group by col_0_0_"),
27556 tejbeer 54
 
27670 tejbeer 55
		@NamedQuery(name = "FofoStore.selectWarehouseBrandItemSale", query = "select new com.spice.profitmandi.dao.model.WarehouseBrandWiseItemSaleModel(fs.warehouseId,i.id, i.brand, i.modelName, i.modelNumber,i.color,"
27574 tejbeer 56
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :lms then CAST(foi.quantity*foi.mop  AS int) else 0 end),"
57
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :lms then foi.quantity  else 0 end),"
58
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :mtd  then CAST(foi.quantity*foi.mop  AS int) else 0 end),"
59
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :mtd  then foi.quantity else 0 end), "
60
				+ "sum(case when foi.createTimestamp between  :lmtdStartDate and :lmtdEndDate  then CAST(foi.quantity*foi.mop  AS int) else 0 end), "
61
				+ "sum(case when foi.createTimestamp between  :lmtdStartDate and :lmtdEndDate then foi.quantity else 0 end))"
27594 tejbeer 62
				+ " from FofoStore fs join FofoOrder fo on fs.id = fo.fofoId join FofoOrderItem foi on foi.orderId = fo.id  join Item i on i.id = foi.itemId  where fo.cancelledTimestamp is null and fs.active = true"
27701 tejbeer 63
				+ " and  foi.createTimestamp >= :lmtdStartDate and fs.warehouseId in :warehouseId and i.brand = :brand and i.categoryId = :categoryId and fs.id in :fofoId group by i.id"),
27594 tejbeer 64
 
65
		@NamedQuery(name = "FofoStore.selectGroupByBrandAccesoriesWarehousePartnerSale", query = "select new com.spice.profitmandi.dao.model.BrandWisePartnerSaleModel(foi.brand, "
66
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :lms then CAST(foi.quantity*foi.mop  AS int) else 0 end),"
67
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :lms then foi.quantity  else 0 end),"
68
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :mtd  then CAST(foi.quantity*foi.mop  AS int) else 0 end),"
69
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :mtd  then foi.quantity else 0 end), "
70
				+ "sum(case when foi.createTimestamp between  :lmtdStartDate and :lmtdEndDate  then CAST(foi.quantity*foi.mop  AS int) else 0 end), "
71
				+ "sum(case when foi.createTimestamp between  :lmtdStartDate and :lmtdEndDate then foi.quantity else 0 end))"
27592 tejbeer 72
				+ " from FofoStore fs join FofoOrder fo on fs.id = fo.fofoId join FofoOrderItem foi on foi.orderId = fo.id  join Item i on i.id = foi.itemId  where fo.cancelledTimestamp is null and fs.active = true "
27701 tejbeer 73
				+ "and foi.createTimestamp >= :lmtdStartDate and i.categoryId != :categoryId and fs.id in :fofoId"
74
				+ " group by foi.brand"),
27556 tejbeer 75
 
27594 tejbeer 76
		@NamedQuery(name = "FofoStore.selectGroupByWarehouseAccesoriesBrandWisePartnerSale", query = "select new com.spice.profitmandi.dao.model.WarehouseWiseBrandSaleModel(fs.warehouseId,"
77
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :lms then CAST(foi.quantity*foi.mop  AS int) else 0 end),"
78
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :lms then foi.quantity  else 0 end),"
79
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :mtd  then CAST(foi.quantity*foi.mop  AS int) else 0 end),"
80
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :mtd  then foi.quantity else 0 end), "
81
				+ "sum(case when foi.createTimestamp between  :lmtdStartDate and :lmtdEndDate  then CAST(foi.quantity*foi.mop  AS int) else 0 end), "
82
				+ "sum(case when foi.createTimestamp between  :lmtdStartDate and :lmtdEndDate then foi.quantity else 0 end))"
83
				+ " from FofoStore fs join FofoOrder fo on fs.id = fo.fofoId join FofoOrderItem foi on foi.orderId = fo.id  join Item i on i.id = foi.itemId  where fo.cancelledTimestamp is null and fs.active = true"
27701 tejbeer 84
				+ " and foi.createTimestamp >= :lmtdStartDate and foi.brand = :brand and i.categoryId != :categoryId and fs.id in :fofoId"
27594 tejbeer 85
				+ " group by fs.warehouseId"),
27592 tejbeer 86
 
27670 tejbeer 87
		@NamedQuery(name = "FofoStore.selectWarehouseAccesoriesBrandItemSale", query = "select new com.spice.profitmandi.dao.model.WarehouseBrandWiseItemSaleModel(fs.warehouseId,i.id, i.brand, i.modelName, i.modelNumber,i.color,"
27591 tejbeer 88
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :lms then CAST(foi.quantity*foi.mop  AS int) else 0 end),"
89
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :lms then foi.quantity  else 0 end),"
90
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :mtd  then CAST(foi.quantity*foi.mop  AS int) else 0 end),"
91
				+ "sum(case when concat(year(foi.createTimestamp), month(foi.createTimestamp))= :mtd  then foi.quantity else 0 end), "
92
				+ "sum(case when foi.createTimestamp between  :lmtdStartDate and :lmtdEndDate  then CAST(foi.quantity*foi.mop  AS int) else 0 end), "
93
				+ "sum(case when foi.createTimestamp between  :lmtdStartDate and :lmtdEndDate then foi.quantity else 0 end))"
27556 tejbeer 94
				+ " from FofoStore fs join FofoOrder fo on fs.id = fo.fofoId join FofoOrderItem foi on foi.orderId = fo.id  join Item i on i.id = foi.itemId  where fo.cancelledTimestamp is null and fs.active = true"
27701 tejbeer 95
				+ " and  foi.createTimestamp >= :lmtdStartDate and fs.warehouseId in :warehouseId and i.brand = :brand and i.categoryId != :categoryId  and fs.id in :fofoId group by i.id"),
27556 tejbeer 96
 
27599 tejbeer 97
		@NamedQuery(name = "FofoStore.selectPartnerPendingIndentItem", query = "select new com.spice.profitmandi.dao.model.PartnerPendingIndentItemModel(o.retailerName,"
98
				+ " li.quantity, li.totalPrice)"
99
				+ " from FofoStore fs join Order o on fs.id = o.retailerId join  LineItem li on li.orderId = o.id "
100
				+ " where li.itemId = :itemId and fs.warehouseId = :warehouseId and o.status = 3"),
101
 
27670 tejbeer 102
		@NamedQuery(name = "FofoStore.selectUnbilledActivateStockGroupByBrand", query = "select new com.spice.profitmandi.dao.model.BrandWiseUnbilledActivateStockModel(i.brand,"
27676 tejbeer 103
				+ "  sum(case when concat(year(ai.activationTimestamp), month(ai.activationTimestamp)) = :almtd then 1 else 0 end),"
27670 tejbeer 104
				+ "  sum(case when concat(year(ai.activationTimestamp), month(ai.activationTimestamp)) = :almtd then CAST(tl.sellingPrice  AS int) else 0 end))"
105
				+ " from FofoStore fs join InventoryItem ii on fs.id = ii.fofoId join ActivatedImei ai on ai.serialNumber = ii.serialNumber join Item i on i.id = ii.itemId join TagListing tl on tl.itemId = i.id"
27701 tejbeer 106
				+ " where fs.active = true and ii.goodQuantity >= 1 and fs.id in :fofoId group by i.brand"),
27670 tejbeer 107
 
108
		@NamedQuery(name = "FofoStore.selectUnbilledActivateStockGroupByWarehouse", query = "select new com.spice.profitmandi.dao.model.WarehouseWiseBrandUnbilledActivatedModel(fs.warehouseId,"
27676 tejbeer 109
				+ "  sum(case when concat(year(ai.activationTimestamp), month(ai.activationTimestamp)) = :almtd then 1 else 0 end),"
27670 tejbeer 110
				+ "  sum(case when concat(year(ai.activationTimestamp), month(ai.activationTimestamp)) = :almtd then CAST(tl.sellingPrice  AS int) else 0 end))"
111
				+ " from FofoStore fs join InventoryItem ii on fs.id = ii.fofoId join ActivatedImei ai on ai.serialNumber = ii.serialNumber join Item i on i.id = ii.itemId join TagListing tl on tl.itemId = i.id"
27701 tejbeer 112
				+ " where fs.active = true and ii.goodQuantity >= 1 and i.brand = :brand and fs.id in :fofoId group by fs.warehouseId"),
27670 tejbeer 113
 
114
		@NamedQuery(name = "FofoStore.selectWarehouseBrandItemUnbilledActivateStock", query = "select new com.spice.profitmandi.dao.model.WarehouseBrandItemUnbilledActivatedModel(fs.warehouseId,i.id, i.brand, i.modelName, i.modelNumber,i.color,"
27676 tejbeer 115
				+ "  sum(case when concat(year(ai.activationTimestamp), month(ai.activationTimestamp)) = :almtd then 1 else 0 end),"
27670 tejbeer 116
				+ "  sum(case when concat(year(ai.activationTimestamp), month(ai.activationTimestamp)) = :almtd then CAST(tl.sellingPrice  AS int) else 0 end))"
117
				+ " from FofoStore fs join InventoryItem ii on fs.id = ii.fofoId join ActivatedImei ai on ai.serialNumber = ii.serialNumber join Item i on i.id = ii.itemId join TagListing tl on tl.itemId = i.id"
27701 tejbeer 118
				+ " where fs.active = true and ii.goodQuantity >= 1 and i.brand = :brand and fs.warehouseId in :warehouseId and fs.id in :fofoId  group by i.id"),
27670 tejbeer 119
 
27556 tejbeer 120
})
27599 tejbeer 121
 
27556 tejbeer 122
public class FofoStore implements Serializable {
123
 
22418 ashik.ali 124
	private static final long serialVersionUID = 1L;
27556 tejbeer 125
 
22418 ashik.ali 126
	public FofoStore() {
127
	}
27556 tejbeer 128
 
22418 ashik.ali 129
	@Id
27556 tejbeer 130
	@Column(name = "id", unique = true, updatable = false)
22418 ashik.ali 131
	private int id;
27556 tejbeer 132
 
133
	@Column(name = "code", unique = true)
22418 ashik.ali 134
	private String code;
27556 tejbeer 135
 
23847 ashik.ali 136
	@Column(name = "latitude")
137
	private String latitude;
27556 tejbeer 138
 
23847 ashik.ali 139
	@Column(name = "longitude")
140
	private String longitude;
27556 tejbeer 141
 
142
	@Column(name = "counter_size")
23786 amit.gupta 143
	@Enumerated(EnumType.STRING)
144
	private CounterSize counterSize = CounterSize.TEN_LAC;
27556 tejbeer 145
 
146
	@Column(name = "warehouse_id")
25069 amit.gupta 147
	private int warehouseId;
27556 tejbeer 148
 
149
	@Column(name = "minimum_investment")
23884 amit.gupta 150
	private float minimumInvestment;
27556 tejbeer 151
 
152
	@Column(name = "grace_date")
24349 amit.gupta 153
	private LocalDate graceDate;
27556 tejbeer 154
 
155
	@Column(name = "investment_ok")
25276 amit.gupta 156
	private boolean investmentOk;
27556 tejbeer 157
 
27903 tejbeer 158
	@Column
159
	private boolean active = true;
160
 
161
	@Transient
162
	private Address userAddress;
163
 
164
	@Column(name = "internal")
165
	private boolean internal;
166
 
167
	public boolean isInternal() {
168
		return internal;
169
	}
170
 
171
	public void setInternal(boolean internal) {
172
		this.internal = internal;
173
	}
174
 
175
	public int getWarehouseId() {
176
		return warehouseId;
177
	}
178
 
179
	public void setWarehouseId(int warehouseId) {
180
		this.warehouseId = warehouseId;
181
	}
182
 
25276 amit.gupta 183
	public boolean isInvestmentOk() {
184
		return investmentOk;
185
	}
27556 tejbeer 186
 
25276 amit.gupta 187
	public void setInvestmentOk(boolean investmentOk) {
188
		this.investmentOk = investmentOk;
189
	}
190
 
27556 tejbeer 191
	@Column(name = "grace_count")
24349 amit.gupta 192
	private int graceCount;
24843 govind 193
 
24349 amit.gupta 194
	public int getGraceCount() {
195
		return graceCount;
196
	}
27556 tejbeer 197
 
24843 govind 198
	public boolean isActive() {
199
		return active;
200
	}
27556 tejbeer 201
 
24843 govind 202
	public void setActive(boolean active) {
203
		this.active = active;
204
	}
27556 tejbeer 205
 
24349 amit.gupta 206
	public void setGraceCount(int graceCount) {
207
		this.graceCount = graceCount;
208
	}
27556 tejbeer 209
 
24349 amit.gupta 210
	public LocalDate getGraceDate() {
211
		return graceDate;
212
	}
27556 tejbeer 213
 
24349 amit.gupta 214
	public void setGraceDate(LocalDate graceDate) {
215
		this.graceDate = graceDate;
216
	}
27556 tejbeer 217
 
23884 amit.gupta 218
	public float getMinimumInvestment() {
219
		return minimumInvestment;
220
	}
27556 tejbeer 221
 
23884 amit.gupta 222
	public void setMinimumInvestment(float minimumInvestment) {
223
		this.minimumInvestment = minimumInvestment;
224
	}
225
 
27556 tejbeer 226
	/*
227
	 * public int getCreditCycle() { return creditCycle; } public void
228
	 * setCreditCycle(int creditCycle) { this.creditCycle = creditCycle; }
229
	 */
23786 amit.gupta 230
	public CounterSize getCounterSize() {
23716 amit.gupta 231
		return counterSize;
232
	}
27556 tejbeer 233
 
23786 amit.gupta 234
	public void setCounterSize(CounterSize counterSize) {
23716 amit.gupta 235
		this.counterSize = counterSize;
236
	}
27556 tejbeer 237
 
22418 ashik.ali 238
	public int getId() {
239
		return id;
240
	}
27556 tejbeer 241
 
22418 ashik.ali 242
	public void setId(int id) {
243
		this.id = id;
244
	}
27556 tejbeer 245
 
246
	public String getCode() {
22418 ashik.ali 247
		return code;
248
	}
27556 tejbeer 249
 
250
	public void setCode(String code) {
22418 ashik.ali 251
		this.code = code;
252
	}
27556 tejbeer 253
 
254
	public String getLatitude() {
23847 ashik.ali 255
		return latitude;
256
	}
27556 tejbeer 257
 
258
	public void setLatitude(String latitude) {
23847 ashik.ali 259
		this.latitude = latitude;
260
	}
27556 tejbeer 261
 
262
	public String getLongitude() {
23847 ashik.ali 263
		return longitude;
264
	}
27556 tejbeer 265
 
266
	public void setLongitude(String longitude) {
23847 ashik.ali 267
		this.longitude = longitude;
268
	}
27556 tejbeer 269
 
23786 amit.gupta 270
	public Address getUserAddress() {
271
		return userAddress;
272
	}
27556 tejbeer 273
 
23786 amit.gupta 274
	public void setUserAddress(Address userAddress) {
275
		this.userAddress = userAddress;
276
	}
27556 tejbeer 277
 
22418 ashik.ali 278
	@Override
279
	public int hashCode() {
280
		final int prime = 31;
281
		int result = 1;
25276 amit.gupta 282
		result = prime * result + (active ? 1231 : 1237);
24349 amit.gupta 283
		result = prime * result + ((code == null) ? 0 : code.hashCode());
284
		result = prime * result + ((counterSize == null) ? 0 : counterSize.hashCode());
285
		result = prime * result + graceCount;
286
		result = prime * result + ((graceDate == null) ? 0 : graceDate.hashCode());
22418 ashik.ali 287
		result = prime * result + id;
27903 tejbeer 288
		result = prime * result + (internal ? 1231 : 1237);
25276 amit.gupta 289
		result = prime * result + (investmentOk ? 1231 : 1237);
24349 amit.gupta 290
		result = prime * result + ((latitude == null) ? 0 : latitude.hashCode());
291
		result = prime * result + ((longitude == null) ? 0 : longitude.hashCode());
292
		result = prime * result + Float.floatToIntBits(minimumInvestment);
293
		result = prime * result + ((userAddress == null) ? 0 : userAddress.hashCode());
25276 amit.gupta 294
		result = prime * result + warehouseId;
22418 ashik.ali 295
		return result;
296
	}
27556 tejbeer 297
 
22418 ashik.ali 298
	@Override
299
	public boolean equals(Object obj) {
300
		if (this == obj)
301
			return true;
302
		if (obj == null)
303
			return false;
304
		if (getClass() != obj.getClass())
305
			return false;
306
		FofoStore other = (FofoStore) obj;
25276 amit.gupta 307
		if (active != other.active)
308
			return false;
24349 amit.gupta 309
		if (code == null) {
310
			if (other.code != null)
311
				return false;
312
		} else if (!code.equals(other.code))
313
			return false;
314
		if (counterSize != other.counterSize)
315
			return false;
316
		if (graceCount != other.graceCount)
317
			return false;
318
		if (graceDate == null) {
319
			if (other.graceDate != null)
320
				return false;
321
		} else if (!graceDate.equals(other.graceDate))
322
			return false;
22418 ashik.ali 323
		if (id != other.id)
324
			return false;
27903 tejbeer 325
		if (internal != other.internal)
326
			return false;
25276 amit.gupta 327
		if (investmentOk != other.investmentOk)
328
			return false;
24349 amit.gupta 329
		if (latitude == null) {
330
			if (other.latitude != null)
331
				return false;
332
		} else if (!latitude.equals(other.latitude))
333
			return false;
334
		if (longitude == null) {
335
			if (other.longitude != null)
336
				return false;
337
		} else if (!longitude.equals(other.longitude))
338
			return false;
339
		if (Float.floatToIntBits(minimumInvestment) != Float.floatToIntBits(other.minimumInvestment))
340
			return false;
341
		if (userAddress == null) {
342
			if (other.userAddress != null)
343
				return false;
344
		} else if (!userAddress.equals(other.userAddress))
345
			return false;
25276 amit.gupta 346
		if (warehouseId != other.warehouseId)
347
			return false;
22418 ashik.ali 348
		return true;
349
	}
27556 tejbeer 350
 
22418 ashik.ali 351
	@Override
352
	public String toString() {
23884 amit.gupta 353
		return "FofoStore [id=" + id + ", code=" + code + ", latitude=" + latitude + ", longitude=" + longitude
25069 amit.gupta 354
				+ ", counterSize=" + counterSize + ", warehouseId=" + warehouseId + ", minimumInvestment="
27903 tejbeer 355
				+ minimumInvestment + ", graceDate=" + graceDate + ", investmentOk=" + investmentOk + ", active="
356
				+ active + ", userAddress=" + userAddress + ", internal=" + internal + ", graceCount=" + graceCount
357
				+ "]";
22418 ashik.ali 358
	}
27556 tejbeer 359
 
22418 ashik.ali 360
}