Subversion Repositories SmartDukaan

Rev

Rev 37696 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model;

/**
 * One open movement order that has already spoken for stock standing in a warehouse.
 *
 * <p>Stock promised on an order that has not yet been dispatched is not offered again, so an order raised months ago
 * and never completed quietly reduces what can move today. Naming the order and its date lets whoever is building a
 * new order see what is holding the stock and chase it, rather than only being told a smaller number.
 */
public class MovementCommitmentModel {

    private int itemId;
    private int poId;
    private String poNumber;
    /** PO date, preformatted for display - the order is identified to people by number and date, not by id. */
    private String poDate;
    /** The other end of the order: where promised stock is going, or, for stock arriving, the supplier sending it. */
    private String destination;
    private int qty;

    public int getItemId() {
        return itemId;
    }

    public void setItemId(int itemId) {
        this.itemId = itemId;
    }

    public int getPoId() {
        return poId;
    }

    public void setPoId(int poId) {
        this.poId = poId;
    }

    public String getPoNumber() {
        return poNumber;
    }

    public void setPoNumber(String poNumber) {
        this.poNumber = poNumber;
    }

    public String getPoDate() {
        return poDate;
    }

    public void setPoDate(String poDate) {
        this.poDate = poDate;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }

    @Override
    public String toString() {
        return "MovementCommitmentModel [itemId=" + itemId + ", poId=" + poId + ", poNumber=" + poNumber + ", poDate=" + poDate
                + ", destination=" + destination + ", qty=" + qty + "]";
    }
}