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 "NEWORDERS".
 */
public class NewOrders {

    private String noCompo;
    private int noOId;
    private short noDId;
    private short noWId;
    private Boolean noInitial;
    private Boolean noLive;

    public NewOrders() {
    }

    public NewOrders(String noCompo) {
        this.noCompo = noCompo;
    }

    public NewOrders(String noCompo, int noOId, short noDId, short noWId, Boolean noInitial, Boolean noLive) {
        this.noCompo = noCompo;
        this.noOId = noOId;
        this.noDId = noDId;
        this.noWId = noWId;
        this.noInitial = noInitial;
        this.noLive = noLive;
    }

    public static String getNoCompo(NewOrders obj) {
        return Integer.toString(obj.getNoOId()) + "-"  + Short.toString(obj.getNoDId()) + "-"  + Short.toString(obj.getNoWId());
    }

    public String getNoCompo() {
        return noCompo;
    }

    public void setNoCompo(String noCompo) {
        this.noCompo = noCompo;
    }

    public int getNoOId() {
        return noOId;
    }

    public void setNoOId(int noOId) {
        this.noOId = noOId;
    }

    public short getNoDId() {
        return noDId;
    }

    public void setNoDId(short noDId) {
        this.noDId = noDId;
    }

    public short getNoWId() {
        return noWId;
    }

    public void setNoWId(short noWId) {
        this.noWId = noWId;
    }

    public Boolean getNoInitial() {
        return noInitial;
    }

    public void setNoInitial(Boolean noInitial) {
        this.noInitial = noInitial;
    }

    public Boolean getNoLive() {
        return noLive;
    }

    public void setNoLive(Boolean noLive) {
        this.noLive = noLive;
    }

}
