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 "CUSTOMER".
 */
public class Customer {

    private String cCompo;
    private int cId;
    private short cDId;
    private short cWId;
    /** Not-null value. */
    private String cFirst;
    /** Not-null value. */
    private String cMiddle;
    /** Not-null value. */
    private String cLast;
    /** Not-null value. */
    private String cStreet1;
    /** Not-null value. */
    private String cStreet2;
    /** Not-null value. */
    private String cCity;
    /** Not-null value. */
    private String cState;
    /** Not-null value. */
    private String cZip;
    /** Not-null value. */
    private String cPhone;
    /** Not-null value. */
    private java.util.Date cSince;
    /** Not-null value. */
    private String cCredit;
    private float cCreditLim;
    private float cDiscount;
    private float cBalance;
    private float cYtdPayment;
    private int cPaymentCnt;
    private int cDeliveryCnt;
    /** Not-null value. */
    private String cData;
    /** Not-null value. */
    private String cDataInitial;

    public Customer() {
    }

    public Customer(String cCompo) {
        this.cCompo = cCompo;
    }

    public Customer(String cCompo, int cId, short cDId, short cWId, String cFirst, String cMiddle, String cLast, String cStreet1, String cStreet2, String cCity, String cState, String cZip, String cPhone, java.util.Date cSince, String cCredit, float cCreditLim, float cDiscount, float cBalance, float cYtdPayment, int cPaymentCnt, int cDeliveryCnt, String cData, String cDataInitial) {
        this.cCompo = cCompo;
        this.cId = cId;
        this.cDId = cDId;
        this.cWId = cWId;
        this.cFirst = cFirst;
        this.cMiddle = cMiddle;
        this.cLast = cLast;
        this.cStreet1 = cStreet1;
        this.cStreet2 = cStreet2;
        this.cCity = cCity;
        this.cState = cState;
        this.cZip = cZip;
        this.cPhone = cPhone;
        this.cSince = cSince;
        this.cCredit = cCredit;
        this.cCreditLim = cCreditLim;
        this.cDiscount = cDiscount;
        this.cBalance = cBalance;
        this.cYtdPayment = cYtdPayment;
        this.cPaymentCnt = cPaymentCnt;
        this.cDeliveryCnt = cDeliveryCnt;
        this.cData = cData;
        this.cDataInitial = cDataInitial;
    }

    public void clear(){
        //this.dist = null;
        this.cCompo = null;
        this.cId = 0;
        this.cDId = 0;
        this.cWId = 0;
        this.cFirst = null;
        this.cMiddle = null;
        this.cLast = null;
        this.cStreet1 = null;
        this.cStreet2 = null;
        this.cCity = null;
        this.cState = null;
        this.cZip = null;
        this.cPhone = null;
        this.cSince = null;
        this.cCreditLim = 0;
        this.cDiscount = 0;
        this.cCredit = null;
        this.cYtdPayment = 0;
        this.cDeliveryCnt = 0;
        this.cPaymentCnt = 0;
        this.cData = null;
    }

    public static String getCCompo(Customer obj) {
        return Integer.toString(obj.getCId()) + "-"  + Short.toString(obj.getCDId()) + "-"  + Short.toString(obj.getCWId());
    }

    public String getCCompo() {
        return cCompo;
    }

    public void setCCompo(String cCompo) {
        this.cCompo = cCompo;
    }

    public int getCId() {
        return cId;
    }

    public void setCId(int cId) {
        this.cId = cId;
    }

    public short getCDId() {
        return cDId;
    }

    public void setCDId(short cDId) {
        this.cDId = cDId;
    }

    public short getCWId() {
        return cWId;
    }

    public void setCWId(short cWId) {
        this.cWId = cWId;
    }

    /** Not-null value. */
    public String getCFirst() {
        return cFirst;
    }

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

    /** Not-null value. */
    public String getCMiddle() {
        return cMiddle;
    }

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

    /** Not-null value. */
    public String getCLast() {
        return cLast;
    }

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

    /** Not-null value. */
    public String getCStreet1() {
        return cStreet1;
    }

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

    /** Not-null value. */
    public String getCStreet2() {
        return cStreet2;
    }

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

    /** Not-null value. */
    public String getCCity() {
        return cCity;
    }

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

    /** Not-null value. */
    public String getCState() {
        return cState;
    }

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

    /** Not-null value. */
    public String getCZip() {
        return cZip;
    }

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

    /** Not-null value. */
    public String getCPhone() {
        return cPhone;
    }

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

    /** Not-null value. */
    public java.util.Date getCSince() {
        return cSince;
    }

    /** Not-null value; ensure this value is available before it is saved to the database. */
    public void setCSince(java.util.Date cSince) {
        this.cSince = cSince;
    }

    /** Not-null value. */
    public String getCCredit() {
        return cCredit;
    }

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

    public float getCCreditLim() {
        return cCreditLim;
    }

    public void setCCreditLim(float cCreditLim) {
        this.cCreditLim = cCreditLim;
    }

    public float getCDiscount() {
        return cDiscount;
    }

    public void setCDiscount(float cDiscount) {
        this.cDiscount = cDiscount;
    }

    public float getCBalance() {
        return cBalance;
    }

    public void setCBalance(float cBalance) {
        this.cBalance = cBalance;
    }

    public float getCYtdPayment() {
        return cYtdPayment;
    }

    public void setCYtdPayment(float cYtdPayment) {
        this.cYtdPayment = cYtdPayment;
    }

    public int getCPaymentCnt() {
        return cPaymentCnt;
    }

    public void setCPaymentCnt(int cPaymentCnt) {
        this.cPaymentCnt = cPaymentCnt;
    }

    public int getCDeliveryCnt() {
        return cDeliveryCnt;
    }

    public void setCDeliveryCnt(int cDeliveryCnt) {
        this.cDeliveryCnt = cDeliveryCnt;
    }

    /** Not-null value. */
    public String getCData() {
        return cData;
    }

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

    /** Not-null value. */
    public String getCDataInitial() {
        return cDataInitial;
    }

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

}
