package com.ruoyi.asset.domain;

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_disposal_order_item
 *
 * @author Yangk
 * @date 2026-06-17
 */
public class AmsDisposalOrderItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

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

    /** 报废单ID */
    @Excel(name = "报废单ID")
    private Long orderId;

    /** 报废单号快照 */
    @Excel(name = "报废单号快照")
    private String disposalNo;

    /** 资产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;

    /** 报废原因 */
    @Excel(name = "报废原因")
    private String disposalReason;

    /** 处置备注 */
    @Excel(name = "处置备注")
    private String disposalRemark;

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

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

    public Long getItemId()
    {
        return itemId;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setDisposalNo(String disposalNo)
    {
        this.disposalNo = disposalNo;
    }

    public String getDisposalNo()
    {
        return disposalNo;
    }
    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 setDisposalReason(String disposalReason)
    {
        this.disposalReason = disposalReason;
    }

    public String getDisposalReason()
    {
        return disposalReason;
    }
    public void setDisposalRemark(String disposalRemark)
    {
        this.disposalRemark = disposalRemark;
    }

    public String getDisposalRemark()
    {
        return disposalRemark;
    }
    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("orderId", getOrderId())
            .append("disposalNo", getDisposalNo())
            .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("disposalReason", getDisposalReason())
            .append("disposalRemark", getDisposalRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
