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 "STOCK".
 */
public class Stock {

    private String sCompo;
    private int sIId;
    private short sWId;
    private int sQuantity;
    /** Not-null value. */
    private String sDist01;
    /** Not-null value. */
    private String sDist02;
    /** Not-null value. */
    private String sDist03;
    /** Not-null value. */
    private String sDist04;
    /** Not-null value. */
    private String sDist05;
    /** Not-null value. */
    private String sDist06;
    /** Not-null value. */
    private String sDist07;
    /** Not-null value. */
    private String sDist08;
    /** Not-null value. */
    private String sDist09;
    /** Not-null value. */
    private String sDist10;
    private float sYtd;
    private int sOrderCnt;
    private int sRemoteCnt;
    /** Not-null value. */
    private String sData;
    private int sQuantityInitial;

    public Stock() {
    }

    public Stock(String sCompo) {
        this.sCompo = sCompo;
    }

    public Stock(String sCompo, int sIId, short sWId, int sQuantity, String sDist01, String sDist02, String sDist03, String sDist04, String sDist05, String sDist06, String sDist07, String sDist08, String sDist09, String sDist10, float sYtd, int sOrderCnt, int sRemoteCnt, String sData, int sQuantityInitial) {
        this.sCompo = sCompo;
        this.sIId = sIId;
        this.sWId = sWId;
        this.sQuantity = sQuantity;
        this.sDist01 = sDist01;
        this.sDist02 = sDist02;
        this.sDist03 = sDist03;
        this.sDist04 = sDist04;
        this.sDist05 = sDist05;
        this.sDist06 = sDist06;
        this.sDist07 = sDist07;
        this.sDist08 = sDist08;
        this.sDist09 = sDist09;
        this.sDist10 = sDist10;
        this.sYtd = sYtd;
        this.sOrderCnt = sOrderCnt;
        this.sRemoteCnt = sRemoteCnt;
        this.sData = sData;
        this.sQuantityInitial = sQuantityInitial;
    }

    public static String getSCompo(Stock obj) {
        return Integer.toString(obj.getSWId()) + "-"  + Integer.toString(obj.getSIId());
    }

    public String getSCompo() {
        return sCompo;
    }

    public void setSCompo(String sCompo) {
        this.sCompo = sCompo;
    }

    public int getSIId() {
        return sIId;
    }

    public void setSIId(int sIId) {
        this.sIId = sIId;
    }

    public short getSWId() {
        return sWId;
    }

    public void setSWId(short sWId) {
        this.sWId = sWId;
    }

    public int getSQuantity() {
        return sQuantity;
    }

    public void setSQuantity(int sQuantity) {
        this.sQuantity = sQuantity;
    }

    /** Not-null value. */
    public String getSDist01() {
        return sDist01;
    }

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

    /** Not-null value. */
    public String getSDist02() {
        return sDist02;
    }

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

    /** Not-null value. */
    public String getSDist03() {
        return sDist03;
    }

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

    /** Not-null value. */
    public String getSDist04() {
        return sDist04;
    }

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

    /** Not-null value. */
    public String getSDist05() {
        return sDist05;
    }

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

    /** Not-null value. */
    public String getSDist06() {
        return sDist06;
    }

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

    /** Not-null value. */
    public String getSDist07() {
        return sDist07;
    }

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

    /** Not-null value. */
    public String getSDist08() {
        return sDist08;
    }

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

    /** Not-null value. */
    public String getSDist09() {
        return sDist09;
    }

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

    /** Not-null value. */
    public String getSDist10() {
        return sDist10;
    }

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

    public float getSYtd() {
        return sYtd;
    }

    public void setSYtd(float sYtd) {
        this.sYtd = sYtd;
    }

    public int getSOrderCnt() {
        return sOrderCnt;
    }

    public void setSOrderCnt(int sOrderCnt) {
        this.sOrderCnt = sOrderCnt;
    }

    public int getSRemoteCnt() {
        return sRemoteCnt;
    }

    public void setSRemoteCnt(int sRemoteCnt) {
        this.sRemoteCnt = sRemoteCnt;
    }

    /** Not-null value. */
    public String getSData() {
        return sData;
    }

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

    public int getSQuantityInitial() {
        return sQuantityInitial;
    }

    public void setSQuantityInitial(int sQuantityInitial) {
        this.sQuantityInitial = sQuantityInitial;
    }

}
