package com.jingpu.android.apersistance.greendao.model;

// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit. 
/**
 * Entity mapped to table "ORDERLINE".
 */
public class OrderLine {

    private String olCompo;
    private int olOId;
    private short olDId;
    private short olWId;
    private short olNumber;
    private int olIId;
    private short olSupplyWId;
    private java.util.Date olDeliveryD;
    private short olQuantity;
    private float olAmount;
    /** Not-null value. */
    private String olDistInfo;
    private java.util.Date olDeliveryDInitial;
    private Boolean olInitial;

    public OrderLine() {
    }

    public OrderLine(String olCompo) {
        this.olCompo = olCompo;
    }

    public OrderLine(String olCompo, int olOId, short olDId, short olWId, short olNumber, int olIId, short olSupplyWId, java.util.Date olDeliveryD, short olQuantity, float olAmount, String olDistInfo, java.util.Date olDeliveryDInitial, Boolean olInitial) {
        this.olCompo = olCompo;
        this.olOId = olOId;
        this.olDId = olDId;
        this.olWId = olWId;
        this.olNumber = olNumber;
        this.olIId = olIId;
        this.olSupplyWId = olSupplyWId;
        this.olDeliveryD = olDeliveryD;
        this.olQuantity = olQuantity;
        this.olAmount = olAmount;
        this.olDistInfo = olDistInfo;
        this.olDeliveryDInitial = olDeliveryDInitial;
        this.olInitial = olInitial;
    }

    public static String getOlCompo(OrderLine obj) {
        return Integer.toString(obj.getOlOId()) + "-" + Short.toString(obj.getOlDId()) + "-"  + Short.toString(obj.getOlWId()) + "-"  + Short.toString(obj.getOlNumber());
    }

    public String getOlCompo() {
        return olCompo;
    }

    public void setOlCompo(String olCompo) {
        this.olCompo = olCompo;
    }

    public int getOlOId() {
        return olOId;
    }

    public void setOlOId(int olOId) {
        this.olOId = olOId;
    }

    public short getOlDId() {
        return olDId;
    }

    public void setOlDId(short olDId) {
        this.olDId = olDId;
    }

    public short getOlWId() {
        return olWId;
    }

    public void setOlWId(short olWId) {
        this.olWId = olWId;
    }

    public short getOlNumber() {
        return olNumber;
    }

    public void setOlNumber(short olNumber) {
        this.olNumber = olNumber;
    }

    public int getOlIId() {
        return olIId;
    }

    public void setOlIId(int olIId) {
        this.olIId = olIId;
    }

    public short getOlSupplyWId() {
        return olSupplyWId;
    }

    public void setOlSupplyWId(short olSupplyWId) {
        this.olSupplyWId = olSupplyWId;
    }

    public java.util.Date getOlDeliveryD() {
        return olDeliveryD;
    }

    public void setOlDeliveryD(java.util.Date olDeliveryD) {
        this.olDeliveryD = olDeliveryD;
    }

    public short getOlQuantity() {
        return olQuantity;
    }

    public void setOlQuantity(short olQuantity) {
        this.olQuantity = olQuantity;
    }

    public float getOlAmount() {
        return olAmount;
    }

    public void setOlAmount(float olAmount) {
        this.olAmount = olAmount;
    }

    /** Not-null value. */
    public String getOlDistInfo() {
        return olDistInfo;
    }

    /** Not-null value; ensure this value is available before it is saved to the database. */
    public void setOlDistInfo(String olDistInfo) {
        this.olDistInfo = olDistInfo;
    }

    public java.util.Date getOlDeliveryDInitial() {
        return olDeliveryDInitial;
    }

    public void setOlDeliveryDInitial(java.util.Date olDeliveryDInitial) {
        this.olDeliveryDInitial = olDeliveryDInitial;
    }

    public Boolean getOlInitial() {
        return olInitial;
    }

    public void setOlInitial(Boolean olInitial) {
        this.olInitial = olInitial;
    }

}
