Subversion Repositories SmartDukaan

Rev

Rev 29222 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.entity.logistics;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "logistics.deliveryestimate")
public class ProviderTat implements Serializable {
        @Id
        @Column(name = "provider_id")
        private int providerId;

        @Id
        @Column(name = "destination_pin")
        private String destinationPin;

        @Id
        @Column(name = "warehouse_location")
        private int warehouseLocation;

        @Column(name = "delivery_time")
        private int deliveryTime;

        @Column(name = "reliability")
        private Integer reliability;

        @Column(name = "delivery_delay")
        private int deliveryDelay;

        @Column(name = "providerZoneCode")
        private String providerZoneCode;

        public int getProviderId() {
                return providerId;
        }

        public void setProviderId(int providerId) {
                this.providerId = providerId;
        }

        public String getDestinationPin() {
                return destinationPin;
        }

        public void setDestinationPin(String destinationPin) {
                this.destinationPin = destinationPin;
        }

        public int getWarehouseLocation() {
                return warehouseLocation;
        }

        public void setWarehouseLocation(int warehouseLocation) {
                this.warehouseLocation = warehouseLocation;
        }

        public int getDeliveryTime() {
                return deliveryTime;
        }

        public void setDeliveryTime(int deliveryTime) {
                this.deliveryTime = deliveryTime;
        }

        public Integer getReliability() {
                return reliability;
        }

        public void setReliability(Integer reliability) {
                this.reliability = reliability;
        }

        public int getDeliveryDelay() {
                return deliveryDelay;
        }

        public void setDeliveryDelay(int deliveryDelay) {
                this.deliveryDelay = deliveryDelay;
        }

        public String getProviderZoneCode() {
                return providerZoneCode;
        }

        public void setProviderZoneCode(String providerZoneCode) {
                this.providerZoneCode = providerZoneCode;
        }

        @Override
        public String toString() {
                return "ProviderTat [providerId=" + providerId + ", destinationPin=" + destinationPin + ", warehouseLocation="
                                + warehouseLocation + ", deliveryTime=" + deliveryTime + ", reliability=" + reliability
                                + ", deliveryDelay=" + deliveryDelay + ", providerZoneCode=" + providerZoneCode + "]";
        }

}