ReceiptInfo.java 4.21 KB
package com.huaheng.wms.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

@Entity
public class ReceiptInfo {

    @Id
    private long _id;
    private float qty;   //总共多少个
    private float total;     //已收多少个
    private float qtyCompleted;     //已收多少个
    private String unit;    //单位
    private String batch;  //批次号
    private String project;  //项目号
    private String name;
    private String materialCode;
    private String id;
    private String receiptCode;
    private String receiptId;
    private String quality;
    private String materialName;

    @Generated(hash = 1550405795)
    public ReceiptInfo(long _id, float qty, float total, float qtyCompleted, String unit,
            String batch, String project, String name, String materialCode, String id,
            String receiptCode, String receiptId, String quality, String materialName) {
        this._id = _id;
        this.qty = qty;
        this.total = total;
        this.qtyCompleted = qtyCompleted;
        this.unit = unit;
        this.batch = batch;
        this.project = project;
        this.name = name;
        this.materialCode = materialCode;
        this.id = id;
        this.receiptCode = receiptCode;
        this.receiptId = receiptId;
        this.quality = quality;
        this.materialName = materialName;
    }

    @Generated(hash = 1137185615)
    public ReceiptInfo() {
    }

    public long get_id() {
        return this._id;
    }

    public void set_id(long _id) {
        this._id = _id;
    }

    public float getQty() {
        return this.qty;
    }

    public void setQty(float qty) {
        this.qty = qty;
    }

    public float getQtyCompleted() {
        return this.qtyCompleted;
    }

    public void setQtyCompleted(float qtyCompleted) {
        this.qtyCompleted = qtyCompleted;
    }

    public String getUnit() {
        return this.unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getBatch() {
        return this.batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public String getProject() {
        return this.project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMaterialCode() {
        return this.materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getId() {
        return this.id;
    }

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

    public String getReceiptCode() {
        return this.receiptCode;
    }

    public void setReceiptCode(String receiptCode) {
        this.receiptCode = receiptCode;
    }

    public String getReceiptId() {
        return this.receiptId;
    }

    public void setReceiptId(String receiptId) {
        this.receiptId = receiptId;
    }

    public String getQuality() {
        return this.quality;
    }

    public void setQuality(String quality) {
        this.quality = quality;
    }

    @Override
    public String toString() {
        return "ReceiptInfo{" +
                "_id=" + _id +
                ", qty=" + qty +
                ", qtyCompleted=" + qtyCompleted +
                ", unit='" + unit + '\'' +
                ", batch='" + batch + '\'' +
                ", project='" + project + '\'' +
                ", name='" + name + '\'' +
                ", materialCode='" + materialCode + '\'' +
                ", id='" + id + '\'' +
                ", receiptCode='" + receiptCode + '\'' +
                ", receiptId='" + receiptId + '\'' +
                ", quality='" + quality + '\'' +
                '}';
    }

    public String getMaterialName() {
        return this.materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public float getTotal() {
        return this.total;
    }

    public void setTotal(float total) {
        this.total = total;
    }
}