Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

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