ContainerInfo.java 2.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 ContainerInfo {

    @Id
    private long _id;
    private float qty;
    private String name;
    private int id;
    private String locationCode;
    private int receiptId;
    private String barcode;

    @Generated(hash = 1824158883)
    public ContainerInfo(long _id, float qty, String name, int id,
                         String locationCode, int receiptId, String barcode) {
        this._id = _id;
        this.qty = qty;
        this.name = name;
        this.id = id;
        this.locationCode = locationCode;
        this.receiptId = receiptId;
        this.barcode = barcode;
    }

    @Generated(hash = 1700525287)
    public ContainerInfo() {
    }

    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 String getName() {
        return this.name;
    }

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

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

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

    public String getLocationCode() {
        return this.locationCode;
    }

    public void setLocationCode(String locationCode) {
        this.locationCode = locationCode;
    }

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

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

    public String getBarcode() {
        return this.barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }


    @Override
    public String toString() {
        return "ContainerInfo{" +
                "_id=" + _id +
                ", qty=" + qty +
                ", name='" + name + '\'' +
                ", id=" + id +
                ", locationCode='" + locationCode + '\'' +
                ", receiptId=" + receiptId +
                ", barcode='" + barcode + '\'' +
                '}';
    }
}