Subversion Repositories SmartDukaan

Rev

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

Rev 26420 Rev 33189
Line 1... Line 1...
1
package com.spice.profitmandi.common.model;
1
package com.spice.profitmandi.common.model;
2
 
2
 
3
import java.time.LocalDateTime;
3
import java.time.LocalDateTime;
4
 
4
 
5
import com.fasterxml.jackson.annotation.JsonProperty;
5
import com.fasterxml.jackson.annotation.JsonProperty;
-
 
6
import org.springframework.cglib.core.Local;
6
 
7
 
7
public class GrnPendingDataModel implements ImeiDropSummaryModel {
8
public class GrnPendingDataModel implements ImeiDropSummaryModel {
8
	@JsonProperty("Code")
9
	@JsonProperty("Code")
9
	private String partnerCode;
10
	private String partnerCode;
10
 
11
 
Line 315... Line 316...
315
				return false;
316
				return false;
316
		} else if (!vendorName.equals(other.vendorName))
317
		} else if (!vendorName.equals(other.vendorName))
317
			return false;
318
			return false;
318
		return true;
319
		return true;
319
	}
320
	}
320
	
321
 
-
 
322
	public GrnPendingDataModel(int retailerId, String partnerCode, String storeName, String invoiceNumber, LocalDateTime  billingTimestamp,
-
 
323
							   int itemId, String brand, String modelName, String modelNumber, String color, float unitPrice, String serialNumber,
-
 
324
							   String vendorName, LocalDateTime grnOn, LocalDateTime activationTimestamp, LocalDateTime activationAddedOn) {
-
 
325
		this.storeName = storeName;
-
 
326
		this.retailerId = retailerId;
-
 
327
		this.serialNumber = serialNumber;
-
 
328
		this.partnerCode = partnerCode;
-
 
329
		this.invoiceNumber = invoiceNumber;
-
 
330
		this.lastScanned = billingTimestamp;
-
 
331
		this.itemId = itemId;
-
 
332
		this.brand = brand;
-
 
333
		this.modelName = modelName;
-
 
334
		this.modelNumber = modelNumber;
-
 
335
		this.color = color;
-
 
336
		this.unitPrice = unitPrice;
-
 
337
		this.vendorName = vendorName;
-
 
338
		this.grnOn = grnOn;
-
 
339
		this.activationAddedOn = activationAddedOn;
-
 
340
		this.activationTimestamp = activationTimestamp;
321
	
341
	}
322
}
342
}
323
343