package com.vci.server.base.persistence.event;
|
|
import org.hibernate.Session;
|
|
import com.vci.common.objects.UserEntity;
|
|
public class PostUpdateQueryEvent extends AbstractQueryEvent{
|
|
private String id = null; //更新对象的ID
|
private String[] props = null; //需要更新的属性
|
private String [] values = null; //更改后的属性值
|
private Object obj = null; //对象的类名
|
|
public PostUpdateQueryEvent(Session session, UserEntity userEntity, String id, String[] props,
|
String[] values, Object obj) {
|
super(session, userEntity);
|
this.id = id;
|
this.props = props;
|
this.values = values;
|
this.obj = obj;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String[] getProps() {
|
return props;
|
}
|
|
public void setProps(String[] props) {
|
this.props = props;
|
}
|
|
public String[] getValues() {
|
return values;
|
}
|
|
public void setValues(String[] values) {
|
this.values = values;
|
}
|
|
public Object getObj() {
|
return obj;
|
}
|
|
public void setObj(Object obj) {
|
this.obj = obj;
|
}
|
}
|