package com.ruoyi.asset.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 盘点任务明细对象 ams_inventory_task_item
 *
 * @author Yangk
 * @date 2026-06-18
 */
public class AmsInventoryTaskItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细ID */
    private Long itemId;

    /** 盘点任务ID */
    @Excel(name = "盘点任务ID")
    private Long taskId;

    /** 盘点任务号快照 */
    @Excel(name = "盘点任务号快照")
    private String taskNo;

    /** 资产ID */
    @Excel(name = "资产ID")
    private Long assetId;

    /** 资产编码快照 */
    @Excel(name = "资产编码快照")
    private String assetCode;

    /** 资产名称快照 */
    @Excel(name = "资产名称快照")
    private String assetName;

    /** 资产类别ID快照 */
    @Excel(name = "资产类别ID快照")
    private Long categoryId;

    /** 类别编码快照 */
    @Excel(name = "类别编码快照")
    private String categoryCode;

    /** 类别名称快照 */
    @Excel(name = "类别名称快照")
    private String categoryName;

    /** 规格型号快照 */
    @Excel(name = "规格型号快照")
    private String specModel;

    /** 品牌快照 */
    @Excel(name = "品牌快照")
    private String brand;

    /** 账面仓库ID */
    @Excel(name = "账面仓库ID")
    private Long bookWarehouseId;

    /** 账面仓库名称快照 */
    @Excel(name = "账面仓库名称快照")
    private String bookWarehouseName;

    /** 账面位置ID */
    @Excel(name = "账面位置ID")
    private Long bookLocationId;

    /** 账面位置名称快照 */
    @Excel(name = "账面位置名称快照")
    private String bookLocationName;

    /** 盘点仓库ID */
    @Excel(name = "盘点仓库ID")
    private Long inventoryWarehouseId;

    /** 盘点仓库名称快照 */
    @Excel(name = "盘点仓库名称快照")
    private String inventoryWarehouseName;

    /** 盘点位置ID */
    @Excel(name = "盘点位置ID")
    private Long inventoryLocationId;

    /** 盘点位置名称快照 */
    @Excel(name = "盘点位置名称快照")
    private String inventoryLocationName;

    /** 盘点结果 */
    @Excel(name = "盘点结果", dictType = "ams_inventory_result")
    private String inventoryResult;

    /** 盘点人ID */
    @Excel(name = "盘点人ID")
    private Long inventoryUserId;

    /** 盘点人名称快照 */
    @Excel(name = "盘点人名称快照")
    private String inventoryUserName;

    /** 盘点时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "盘点时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date inventoryTime;

    /** 删除标志：0存在，1删除 */
    private String delFlag;

    public void setItemId(Long itemId)
    {
        this.itemId = itemId;
    }

    public Long getItemId()
    {
        return itemId;
    }
    public void setTaskId(Long taskId)
    {
        this.taskId = taskId;
    }

    public Long getTaskId()
    {
        return taskId;
    }
    public void setTaskNo(String taskNo)
    {
        this.taskNo = taskNo;
    }

    public String getTaskNo()
    {
        return taskNo;
    }
    public void setAssetId(Long assetId)
    {
        this.assetId = assetId;
    }

    public Long getAssetId()
    {
        return assetId;
    }
    public void setAssetCode(String assetCode)
    {
        this.assetCode = assetCode;
    }

    public String getAssetCode()
    {
        return assetCode;
    }
    public void setAssetName(String assetName)
    {
        this.assetName = assetName;
    }

    public String getAssetName()
    {
        return assetName;
    }
    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setCategoryCode(String categoryCode)
    {
        this.categoryCode = categoryCode;
    }

    public String getCategoryCode()
    {
        return categoryCode;
    }
    public void setCategoryName(String categoryName)
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName()
    {
        return categoryName;
    }
    public void setSpecModel(String specModel)
    {
        this.specModel = specModel;
    }

    public String getSpecModel()
    {
        return specModel;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setBookWarehouseId(Long bookWarehouseId)
    {
        this.bookWarehouseId = bookWarehouseId;
    }

    public Long getBookWarehouseId()
    {
        return bookWarehouseId;
    }
    public void setBookWarehouseName(String bookWarehouseName)
    {
        this.bookWarehouseName = bookWarehouseName;
    }

    public String getBookWarehouseName()
    {
        return bookWarehouseName;
    }
    public void setBookLocationId(Long bookLocationId)
    {
        this.bookLocationId = bookLocationId;
    }

    public Long getBookLocationId()
    {
        return bookLocationId;
    }
    public void setBookLocationName(String bookLocationName)
    {
        this.bookLocationName = bookLocationName;
    }

    public String getBookLocationName()
    {
        return bookLocationName;
    }
    public void setInventoryWarehouseId(Long inventoryWarehouseId)
    {
        this.inventoryWarehouseId = inventoryWarehouseId;
    }

    public Long getInventoryWarehouseId()
    {
        return inventoryWarehouseId;
    }
    public void setInventoryWarehouseName(String inventoryWarehouseName)
    {
        this.inventoryWarehouseName = inventoryWarehouseName;
    }

    public String getInventoryWarehouseName()
    {
        return inventoryWarehouseName;
    }
    public void setInventoryLocationId(Long inventoryLocationId)
    {
        this.inventoryLocationId = inventoryLocationId;
    }

    public Long getInventoryLocationId()
    {
        return inventoryLocationId;
    }
    public void setInventoryLocationName(String inventoryLocationName)
    {
        this.inventoryLocationName = inventoryLocationName;
    }

    public String getInventoryLocationName()
    {
        return inventoryLocationName;
    }
    public void setInventoryResult(String inventoryResult)
    {
        this.inventoryResult = inventoryResult;
    }

    public String getInventoryResult()
    {
        return inventoryResult;
    }
    public void setInventoryUserId(Long inventoryUserId)
    {
        this.inventoryUserId = inventoryUserId;
    }

    public Long getInventoryUserId()
    {
        return inventoryUserId;
    }
    public void setInventoryUserName(String inventoryUserName)
    {
        this.inventoryUserName = inventoryUserName;
    }

    public String getInventoryUserName()
    {
        return inventoryUserName;
    }
    public void setInventoryTime(Date inventoryTime)
    {
        this.inventoryTime = inventoryTime;
    }

    public Date getInventoryTime()
    {
        return inventoryTime;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemId", getItemId())
            .append("taskId", getTaskId())
            .append("taskNo", getTaskNo())
            .append("assetId", getAssetId())
            .append("assetCode", getAssetCode())
            .append("assetName", getAssetName())
            .append("categoryId", getCategoryId())
            .append("categoryCode", getCategoryCode())
            .append("categoryName", getCategoryName())
            .append("specModel", getSpecModel())
            .append("brand", getBrand())
            .append("bookWarehouseId", getBookWarehouseId())
            .append("bookWarehouseName", getBookWarehouseName())
            .append("bookLocationId", getBookLocationId())
            .append("bookLocationName", getBookLocationName())
            .append("inventoryWarehouseId", getInventoryWarehouseId())
            .append("inventoryWarehouseName", getInventoryWarehouseName())
            .append("inventoryLocationId", getInventoryLocationId())
            .append("inventoryLocationName", getInventoryLocationName())
            .append("inventoryResult", getInventoryResult())
            .append("inventoryUserId", getInventoryUserId())
            .append("inventoryUserName", getInventoryUserName())
            .append("inventoryTime", getInventoryTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
