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 "HISTORY".
 */
public class History {

    private Long id;
    private int hCId;
    private short hCDId;
    private short hCWId;
    private short hDId;
    private short hWId;
    /** Not-null value. */
    private java.util.Date hDate;
    private float hAmount;
    /** Not-null value. */
    private String hData;
    private Boolean hInitial;

    public History() {
    }

    public History(Long id) {
        this.id = id;
    }

    public History(Long id, int hCId, short hCDId, short hCWId, short hDId, short hWId, java.util.Date hDate, float hAmount, String hData, Boolean hInitial) {
        this.id = id;
        this.hCId = hCId;
        this.hCDId = hCDId;
        this.hCWId = hCWId;
        this.hDId = hDId;
        this.hWId = hWId;
        this.hDate = hDate;
        this.hAmount = hAmount;
        this.hData = hData;
        this.hInitial = hInitial;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getHCId() {
        return hCId;
    }

    public void setHCId(int hCId) {
        this.hCId = hCId;
    }

    public short getHCDId() {
        return hCDId;
    }

    public void setHCDId(short hCDId) {
        this.hCDId = hCDId;
    }

    public short getHCWId() {
        return hCWId;
    }

    public void setHCWId(short hCWId) {
        this.hCWId = hCWId;
    }

    public short getHDId() {
        return hDId;
    }

    public void setHDId(short hDId) {
        this.hDId = hDId;
    }

    public short getHWId() {
        return hWId;
    }

    public void setHWId(short hWId) {
        this.hWId = hWId;
    }

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

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

    public float getHAmount() {
        return hAmount;
    }

    public void setHAmount(float hAmount) {
        this.hAmount = hAmount;
    }

    /** Not-null value. */
    public String getHData() {
        return hData;
    }

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

    public Boolean getHInitial() {
        return hInitial;
    }

    public void setHInitial(Boolean hInitial) {
        this.hInitial = hInitial;
    }

}
