ars.module.system.model.Modified Maven / Gradle / Ivy
package ars.module.system.model;
import java.util.Map;
import java.util.HashMap;
import ars.database.model.AbstractModel;
/**
* 数据更新记录数据模型
*
* @author yongqiangwu
*
*/
public class Modified extends AbstractModel {
private static final long serialVersionUID = 1L;
private String key; // 数据标识
private String model; // 数据模型
private Map different = new HashMap(0); // 更新内容
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getModel() {
return model;
}
public void setModel(String model) {
this.model = model;
}
public Map getDifferent() {
return different;
}
public void setDifferent(Map different) {
this.different = different;
}
@Override
public String toString() {
if (this.key == null || this.model == null) {
return super.toString();
}
return new StringBuilder(this.model).append('#').append(this.key).append(this.different).toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy