org.macrocloud.kernel.toolkit.support.BeanDiff Maven / Gradle / Ivy
package org.macrocloud.kernel.toolkit.support;
import lombok.Getter;
import lombok.ToString;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
/**
* 跟踪类变动比较.
*
* @author macro
*/
@Getter
@ToString
public class BeanDiff {
/** 变更字段. */
private final Set fields = new HashSet<>();
/** 旧值. */
private final Map oldValues = new HashMap<>();
/** 新值. */
private final Map newValues = new HashMap<>();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy