package com.ruoyi.asset.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资产履历对象 ams_asset_lifecycle_log
 *
 * @author Yangk
 */
public class AmsAssetLifecycleLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 履历ID */
    private Long logId;

    /** 资产ID */
    private Long assetId;

    /** 资产编码快照 */
    private String assetCode;

    /** 资产名称快照 */
    private String assetName;

    /** 业务类型 */
    private String businessType;

    /** 来源单据ID */
    private Long sourceOrderId;

    /** 来源单据号 */
    private String sourceOrderNo;

    /** 来源明细ID */
    private Long sourceItemId;

    /** 变更前资产状态 */
    private String beforeStatus;

    /** 变更后资产状态 */
    private String afterStatus;

    /** 变更前仓库ID */
    private Long beforeWarehouseId;

    /** 变更前仓库名称 */
    private String beforeWarehouseName;

    /** 变更后仓库ID */
    private Long afterWarehouseId;

    /** 变更后仓库名称 */
    private String afterWarehouseName;

    /** 变更前位置ID */
    private Long beforeLocationId;

    /** 变更前位置名称 */
    private String beforeLocationName;

    /** 变更后位置ID */
    private Long afterLocationId;

    /** 变更后位置名称 */
    private String afterLocationName;

    /** 变更前使用人ID */
    private Long beforeUserId;

    /** 变更前使用人名称 */
    private String beforeUserName;

    /** 变更后使用人ID */
    private Long afterUserId;

    /** 变更后使用人名称 */
    private String afterUserName;

    /** 变更前使用部门ID */
    private Long beforeDeptId;

    /** 变更前使用部门名称 */
    private String beforeDeptName;

    /** 变更后使用部门ID */
    private Long afterDeptId;

    /** 变更后使用部门名称 */
    private String afterDeptName;

    /** 操作用户ID */
    private Long operateUserId;

    /** 操作用户名称 */
    private String operateUserName;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date operateTime;

    /** 变更摘要 */
    private String changeSummary;

    /** 删除标志 */
    private String delFlag;

    public Long getLogId()
    {
        return logId;
    }

    public void setLogId(Long logId)
    {
        this.logId = logId;
    }

    public Long getAssetId()
    {
        return assetId;
    }

    public void setAssetId(Long assetId)
    {
        this.assetId = assetId;
    }

    public String getAssetCode()
    {
        return assetCode;
    }

    public void setAssetCode(String assetCode)
    {
        this.assetCode = assetCode;
    }

    public String getAssetName()
    {
        return assetName;
    }

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

    public String getBusinessType()
    {
        return businessType;
    }

    public void setBusinessType(String businessType)
    {
        this.businessType = businessType;
    }

    public Long getSourceOrderId()
    {
        return sourceOrderId;
    }

    public void setSourceOrderId(Long sourceOrderId)
    {
        this.sourceOrderId = sourceOrderId;
    }

    public String getSourceOrderNo()
    {
        return sourceOrderNo;
    }

    public void setSourceOrderNo(String sourceOrderNo)
    {
        this.sourceOrderNo = sourceOrderNo;
    }

    public Long getSourceItemId()
    {
        return sourceItemId;
    }

    public void setSourceItemId(Long sourceItemId)
    {
        this.sourceItemId = sourceItemId;
    }

    public String getBeforeStatus()
    {
        return beforeStatus;
    }

    public void setBeforeStatus(String beforeStatus)
    {
        this.beforeStatus = beforeStatus;
    }

    public String getAfterStatus()
    {
        return afterStatus;
    }

    public void setAfterStatus(String afterStatus)
    {
        this.afterStatus = afterStatus;
    }

    public Long getBeforeWarehouseId()
    {
        return beforeWarehouseId;
    }

    public void setBeforeWarehouseId(Long beforeWarehouseId)
    {
        this.beforeWarehouseId = beforeWarehouseId;
    }

    public String getBeforeWarehouseName()
    {
        return beforeWarehouseName;
    }

    public void setBeforeWarehouseName(String beforeWarehouseName)
    {
        this.beforeWarehouseName = beforeWarehouseName;
    }

    public Long getAfterWarehouseId()
    {
        return afterWarehouseId;
    }

    public void setAfterWarehouseId(Long afterWarehouseId)
    {
        this.afterWarehouseId = afterWarehouseId;
    }

    public String getAfterWarehouseName()
    {
        return afterWarehouseName;
    }

    public void setAfterWarehouseName(String afterWarehouseName)
    {
        this.afterWarehouseName = afterWarehouseName;
    }

    public Long getBeforeLocationId()
    {
        return beforeLocationId;
    }

    public void setBeforeLocationId(Long beforeLocationId)
    {
        this.beforeLocationId = beforeLocationId;
    }

    public String getBeforeLocationName()
    {
        return beforeLocationName;
    }

    public void setBeforeLocationName(String beforeLocationName)
    {
        this.beforeLocationName = beforeLocationName;
    }

    public Long getAfterLocationId()
    {
        return afterLocationId;
    }

    public void setAfterLocationId(Long afterLocationId)
    {
        this.afterLocationId = afterLocationId;
    }

    public String getAfterLocationName()
    {
        return afterLocationName;
    }

    public void setAfterLocationName(String afterLocationName)
    {
        this.afterLocationName = afterLocationName;
    }

    public Long getBeforeUserId()
    {
        return beforeUserId;
    }

    public void setBeforeUserId(Long beforeUserId)
    {
        this.beforeUserId = beforeUserId;
    }

    public String getBeforeUserName()
    {
        return beforeUserName;
    }

    public void setBeforeUserName(String beforeUserName)
    {
        this.beforeUserName = beforeUserName;
    }

    public Long getAfterUserId()
    {
        return afterUserId;
    }

    public void setAfterUserId(Long afterUserId)
    {
        this.afterUserId = afterUserId;
    }

    public String getAfterUserName()
    {
        return afterUserName;
    }

    public void setAfterUserName(String afterUserName)
    {
        this.afterUserName = afterUserName;
    }

    public Long getBeforeDeptId()
    {
        return beforeDeptId;
    }

    public void setBeforeDeptId(Long beforeDeptId)
    {
        this.beforeDeptId = beforeDeptId;
    }

    public String getBeforeDeptName()
    {
        return beforeDeptName;
    }

    public void setBeforeDeptName(String beforeDeptName)
    {
        this.beforeDeptName = beforeDeptName;
    }

    public Long getAfterDeptId()
    {
        return afterDeptId;
    }

    public void setAfterDeptId(Long afterDeptId)
    {
        this.afterDeptId = afterDeptId;
    }

    public String getAfterDeptName()
    {
        return afterDeptName;
    }

    public void setAfterDeptName(String afterDeptName)
    {
        this.afterDeptName = afterDeptName;
    }

    public Long getOperateUserId()
    {
        return operateUserId;
    }

    public void setOperateUserId(Long operateUserId)
    {
        this.operateUserId = operateUserId;
    }

    public String getOperateUserName()
    {
        return operateUserName;
    }

    public void setOperateUserName(String operateUserName)
    {
        this.operateUserName = operateUserName;
    }

    public Date getOperateTime()
    {
        return operateTime;
    }

    public void setOperateTime(Date operateTime)
    {
        this.operateTime = operateTime;
    }

    public String getChangeSummary()
    {
        return changeSummary;
    }

    public void setChangeSummary(String changeSummary)
    {
        this.changeSummary = changeSummary;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
}
