| 29222 |
tejbeer |
1 |
package com.spice.profitmandi.dao.entity.logistics;
|
|
|
2 |
|
|
|
3 |
import javax.persistence.Column;
|
|
|
4 |
import javax.persistence.Entity;
|
|
|
5 |
import javax.persistence.Id;
|
|
|
6 |
import javax.persistence.Table;
|
| 32603 |
raveendra. |
7 |
import java.io.Serializable;
|
| 29222 |
tejbeer |
8 |
|
|
|
9 |
@Entity
|
| 32603 |
raveendra. |
10 |
@Table(name = "logistics.deliveryestimate")
|
| 29222 |
tejbeer |
11 |
public class ProviderTat implements Serializable {
|
|
|
12 |
@Id
|
|
|
13 |
@Column(name = "provider_id")
|
|
|
14 |
private int providerId;
|
|
|
15 |
|
|
|
16 |
@Id
|
|
|
17 |
@Column(name = "destination_pin")
|
|
|
18 |
private String destinationPin;
|
|
|
19 |
|
|
|
20 |
@Id
|
|
|
21 |
@Column(name = "warehouse_location")
|
|
|
22 |
private int warehouseLocation;
|
|
|
23 |
|
|
|
24 |
@Column(name = "delivery_time")
|
|
|
25 |
private int deliveryTime;
|
|
|
26 |
|
|
|
27 |
@Column(name = "reliability")
|
|
|
28 |
private Integer reliability;
|
|
|
29 |
|
|
|
30 |
@Column(name = "delivery_delay")
|
|
|
31 |
private int deliveryDelay;
|
|
|
32 |
|
|
|
33 |
@Column(name = "providerZoneCode")
|
|
|
34 |
private String providerZoneCode;
|
|
|
35 |
|
|
|
36 |
public int getProviderId() {
|
|
|
37 |
return providerId;
|
|
|
38 |
}
|
|
|
39 |
|
|
|
40 |
public void setProviderId(int providerId) {
|
|
|
41 |
this.providerId = providerId;
|
|
|
42 |
}
|
|
|
43 |
|
|
|
44 |
public String getDestinationPin() {
|
|
|
45 |
return destinationPin;
|
|
|
46 |
}
|
|
|
47 |
|
|
|
48 |
public void setDestinationPin(String destinationPin) {
|
|
|
49 |
this.destinationPin = destinationPin;
|
|
|
50 |
}
|
|
|
51 |
|
|
|
52 |
public int getWarehouseLocation() {
|
|
|
53 |
return warehouseLocation;
|
|
|
54 |
}
|
|
|
55 |
|
|
|
56 |
public void setWarehouseLocation(int warehouseLocation) {
|
|
|
57 |
this.warehouseLocation = warehouseLocation;
|
|
|
58 |
}
|
|
|
59 |
|
|
|
60 |
public int getDeliveryTime() {
|
|
|
61 |
return deliveryTime;
|
|
|
62 |
}
|
|
|
63 |
|
|
|
64 |
public void setDeliveryTime(int deliveryTime) {
|
|
|
65 |
this.deliveryTime = deliveryTime;
|
|
|
66 |
}
|
|
|
67 |
|
|
|
68 |
public Integer getReliability() {
|
|
|
69 |
return reliability;
|
|
|
70 |
}
|
|
|
71 |
|
|
|
72 |
public void setReliability(Integer reliability) {
|
|
|
73 |
this.reliability = reliability;
|
|
|
74 |
}
|
|
|
75 |
|
|
|
76 |
public int getDeliveryDelay() {
|
|
|
77 |
return deliveryDelay;
|
|
|
78 |
}
|
|
|
79 |
|
|
|
80 |
public void setDeliveryDelay(int deliveryDelay) {
|
|
|
81 |
this.deliveryDelay = deliveryDelay;
|
|
|
82 |
}
|
|
|
83 |
|
|
|
84 |
public String getProviderZoneCode() {
|
|
|
85 |
return providerZoneCode;
|
|
|
86 |
}
|
|
|
87 |
|
|
|
88 |
public void setProviderZoneCode(String providerZoneCode) {
|
|
|
89 |
this.providerZoneCode = providerZoneCode;
|
|
|
90 |
}
|
|
|
91 |
|
|
|
92 |
@Override
|
|
|
93 |
public String toString() {
|
|
|
94 |
return "ProviderTat [providerId=" + providerId + ", destinationPin=" + destinationPin + ", warehouseLocation="
|
|
|
95 |
+ warehouseLocation + ", deliveryTime=" + deliveryTime + ", reliability=" + reliability
|
|
|
96 |
+ ", deliveryDelay=" + deliveryDelay + ", providerZoneCode=" + providerZoneCode + "]";
|
|
|
97 |
}
|
|
|
98 |
|
|
|
99 |
}
|