package com.ruoyi.asset.domain;

/**
 * 资产状态流转结果
 *
 * @author Yangk
 */
public class AssetTransitionResult
{
    /** 变更前资产快照 */
    private final AmsAsset beforeAsset;

    /** 变更后资产快照 */
    private final AmsAsset afterAsset;

    public AssetTransitionResult(AmsAsset beforeAsset, AmsAsset afterAsset)
    {
        this.beforeAsset = beforeAsset;
        this.afterAsset = afterAsset;
    }

    public AmsAsset getBeforeAsset()
    {
        return beforeAsset;
    }

    public AmsAsset getAfterAsset()
    {
        return afterAsset;
    }
}
