LastLandedCostHistoryItem.java

package com.tradecloud.domain.item;

import com.tradecloud.common.base.PersistenceBase;

import javax.persistence.*;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.math.BigDecimal;
import java.util.Date;

@Entity
@Table(name = "lastlandedcosthistoryitem")
@Access(AccessType.FIELD)
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "LastLandedCostHistoryItem")
@NamedQueries({@NamedQuery(name = "lastlandedcosthistoryitem.findByItemReference",
        query = "from LastLandedCostHistoryItem i where i.itemReference = :itemReference")})
public class LastLandedCostHistoryItem extends PersistenceBase {

    private static final long serialVersionUID = 1L;

    private String itemReference;
    private String lastLandedOrder;
    private Date grnDate;
    private BigDecimal confirmed_landed_cost;
    private BigDecimal lastLandedCost;

    public String getItem_reference() {
        return itemReference;
    }

    public void setItem_reference(String itemReference) {
        itemReference = itemReference;
    }

    public String getLastLandedOrder() {
        return lastLandedOrder;
    }

    public void setLastLandedOrder(String lastLandedOrder) {
        this.lastLandedOrder = lastLandedOrder;
    }

    public Date getGrnDate() {
        return grnDate;
    }

    public void setGrnDate(Date GRN_date) {
        this.grnDate = GRN_date;
    }

    public BigDecimal getConfirmed_landed_cost() {
        return confirmed_landed_cost;
    }

    public void setConfirmed_landed_cost(BigDecimal confirmed_landed_cost) {
        this.confirmed_landed_cost = confirmed_landed_cost;
    }

    public BigDecimal getLastLandedCost() {
        return lastLandedCost;
    }

    public void setLastLandedCost(BigDecimal lastLandedCost) {
        this.lastLandedCost = lastLandedCost;
    }
}