package com.sxyz.rfid.greendao.model;

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

import java.io.Serializable;

/**
 * 主要功能: 库存表
 *
 * @Description:
 * @Project: rfid-app
 * @Package: com.sxyz.rfid.greendao.model
 * @author: chunyuanwu
 * @date: 2026年01月16日 14:24
 * @version: 1.0.0
 */
@Entity(nameInDb = "wms_inventory")
public class WmsInventory implements Serializable {
    private static final long serialVersionUID = 1L;
    //主键
    @Id(autoincrement = true)
    @Property(nameInDb = "inventory_id")
    private Long inventoryId;
    @Property(nameInDb = "material_id")
    private Integer materialId;
    @Property(nameInDb = "warehouse_id")
    private Integer warehouseId;
    @Property(nameInDb = "area_id")
    private Integer areaId;
    @Property(nameInDb = "location_id")
    private Integer locationId;
    @Property(nameInDb = "batch_no")
    private String batchNo;
    @Property(nameInDb = "lot_no")
    private String lotNo;
    @Property(nameInDb = "production_date")
    private String productionDate;
    @Property(nameInDb = "expiration_date")
    private String expirationDate;
    @Property(nameInDb = "quantity")
    private Float quantity;
    @Property(nameInDb = "available_quantity")
    private Float availableQuantity;
    @Property(nameInDb = "locked_quantity")
    private Float lockedQuantity;
    @Property(nameInDb = "unit_cost")
    private Float unitCost;
    @Property(nameInDb = "total_cost")
    private Float totalCost;
    @Property(nameInDb = "quality_status")
    private String qualityStatus;
    @Property(nameInDb = "inventory_status")
    private String inventoryStatus;
    @Property(nameInDb = "last_inbound_time")
    private String lastInboundTime;
    @Property(nameInDb = "last_outbound_time")
    private String lastOutboundTime;
    @Property(nameInDb = "rfid_tag")
    private String rfidTag;
    @Property(nameInDb = "barcode")
    private String barcode;
    @Property(nameInDb = "is_fifo")
    private String isFifo;
    @Property(nameInDb = "rfid_binding_count")
    private Integer rfidBindingCount;
    @Property(nameInDb = "last_rfid_detect_time")
    private String lastRfidDetectTime;
    @Property(nameInDb = "rfid_coverage_rate")
    private Float rfidCoverageRate;
    @Property(nameInDb = "del_flag")
    private String delFlag;
    @Property(nameInDb = "create_time")
    private String createTime;
    @Property(nameInDb = "update_time")
    private String updateTime;
    @Property(nameInDb = "remark")
    private String remark;
    @Generated(hash = 1153757393)
    public WmsInventory(Long inventoryId, Integer materialId, Integer warehouseId,
            Integer areaId, Integer locationId, String batchNo, String lotNo,
            String productionDate, String expirationDate, Float quantity,
            Float availableQuantity, Float lockedQuantity, Float unitCost,
            Float totalCost, String qualityStatus, String inventoryStatus,
            String lastInboundTime, String lastOutboundTime, String rfidTag,
            String barcode, String isFifo, Integer rfidBindingCount,
            String lastRfidDetectTime, Float rfidCoverageRate, String delFlag,
            String createTime, String updateTime, String remark) {
        this.inventoryId = inventoryId;
        this.materialId = materialId;
        this.warehouseId = warehouseId;
        this.areaId = areaId;
        this.locationId = locationId;
        this.batchNo = batchNo;
        this.lotNo = lotNo;
        this.productionDate = productionDate;
        this.expirationDate = expirationDate;
        this.quantity = quantity;
        this.availableQuantity = availableQuantity;
        this.lockedQuantity = lockedQuantity;
        this.unitCost = unitCost;
        this.totalCost = totalCost;
        this.qualityStatus = qualityStatus;
        this.inventoryStatus = inventoryStatus;
        this.lastInboundTime = lastInboundTime;
        this.lastOutboundTime = lastOutboundTime;
        this.rfidTag = rfidTag;
        this.barcode = barcode;
        this.isFifo = isFifo;
        this.rfidBindingCount = rfidBindingCount;
        this.lastRfidDetectTime = lastRfidDetectTime;
        this.rfidCoverageRate = rfidCoverageRate;
        this.delFlag = delFlag;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.remark = remark;
    }
    @Generated(hash = 787522309)
    public WmsInventory() {
    }
    public Long getInventoryId() {
        return this.inventoryId;
    }
    public void setInventoryId(Long inventoryId) {
        this.inventoryId = inventoryId;
    }
    public Integer getMaterialId() {
        return this.materialId;
    }
    public void setMaterialId(Integer materialId) {
        this.materialId = materialId;
    }
    public Integer getWarehouseId() {
        return this.warehouseId;
    }
    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }
    public Integer getAreaId() {
        return this.areaId;
    }
    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }
    public Integer getLocationId() {
        return this.locationId;
    }
    public void setLocationId(Integer locationId) {
        this.locationId = locationId;
    }
    public String getBatchNo() {
        return this.batchNo;
    }
    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }
    public String getLotNo() {
        return this.lotNo;
    }
    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }
    public String getProductionDate() {
        return this.productionDate;
    }
    public void setProductionDate(String productionDate) {
        this.productionDate = productionDate;
    }
    public String getExpirationDate() {
        return this.expirationDate;
    }
    public void setExpirationDate(String expirationDate) {
        this.expirationDate = expirationDate;
    }
    public Float getQuantity() {
        return this.quantity;
    }
    public void setQuantity(Float quantity) {
        this.quantity = quantity;
    }
    public Float getAvailableQuantity() {
        return this.availableQuantity;
    }
    public void setAvailableQuantity(Float availableQuantity) {
        this.availableQuantity = availableQuantity;
    }
    public Float getLockedQuantity() {
        return this.lockedQuantity;
    }
    public void setLockedQuantity(Float lockedQuantity) {
        this.lockedQuantity = lockedQuantity;
    }
    public Float getUnitCost() {
        return this.unitCost;
    }
    public void setUnitCost(Float unitCost) {
        this.unitCost = unitCost;
    }
    public Float getTotalCost() {
        return this.totalCost;
    }
    public void setTotalCost(Float totalCost) {
        this.totalCost = totalCost;
    }
    public String getQualityStatus() {
        return this.qualityStatus;
    }
    public void setQualityStatus(String qualityStatus) {
        this.qualityStatus = qualityStatus;
    }
    public String getInventoryStatus() {
        return this.inventoryStatus;
    }
    public void setInventoryStatus(String inventoryStatus) {
        this.inventoryStatus = inventoryStatus;
    }
    public String getLastInboundTime() {
        return this.lastInboundTime;
    }
    public void setLastInboundTime(String lastInboundTime) {
        this.lastInboundTime = lastInboundTime;
    }
    public String getLastOutboundTime() {
        return this.lastOutboundTime;
    }
    public void setLastOutboundTime(String lastOutboundTime) {
        this.lastOutboundTime = lastOutboundTime;
    }
    public String getRfidTag() {
        return this.rfidTag;
    }
    public void setRfidTag(String rfidTag) {
        this.rfidTag = rfidTag;
    }
    public String getBarcode() {
        return this.barcode;
    }
    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }
    public String getIsFifo() {
        return this.isFifo;
    }
    public void setIsFifo(String isFifo) {
        this.isFifo = isFifo;
    }
    public Integer getRfidBindingCount() {
        return this.rfidBindingCount;
    }
    public void setRfidBindingCount(Integer rfidBindingCount) {
        this.rfidBindingCount = rfidBindingCount;
    }
    public String getLastRfidDetectTime() {
        return this.lastRfidDetectTime;
    }
    public void setLastRfidDetectTime(String lastRfidDetectTime) {
        this.lastRfidDetectTime = lastRfidDetectTime;
    }
    public Float getRfidCoverageRate() {
        return this.rfidCoverageRate;
    }
    public void setRfidCoverageRate(Float rfidCoverageRate) {
        this.rfidCoverageRate = rfidCoverageRate;
    }
    public String getDelFlag() {
        return this.delFlag;
    }
    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }
    public String getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getUpdateTime() {
        return this.updateTime;
    }
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
    public String getRemark() {
        return this.remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }

}
