package com.matrix.core.pojo;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.matrix.core.anotations.Extend;
|
import com.matrix.core.constance.MatrixConstance;
|
import net.sf.json.JSONObject;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.HashMap;
|
|
/**
|
* bean对象的基类
|
*
|
* @author JIANGYOUYAO
|
* @email 935090232@qq.com
|
* @date 2017年11月30日
|
*/
|
public class EntityDTO implements Serializable{
|
|
@Extend
|
private static final long serialVersionUID = 1L;
|
|
private String createBy;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone="GMT+8")
|
private Date createTime;
|
|
private String updateBy;
|
|
private Date updateTime;
|
|
private HashMap<String, Object> dicMap = new HashMap<>();
|
|
|
|
public HashMap<String, Object> getDicMap() {
|
return dicMap;
|
}
|
|
public void setDicMap(HashMap<String, Object> dicMap) {
|
this.dicMap = dicMap;
|
}
|
|
public String getCreateBy() {
|
return createBy;
|
}
|
|
public void setCreateBy(String createBy) {
|
this.createBy = createBy;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getUpdateBy() {
|
return updateBy;
|
}
|
|
public void setUpdateBy(String updateBy) {
|
this.updateBy = updateBy;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
@Override
|
public String toString() {
|
return JSONObject.fromObject(this).toString();
|
}
|
|
}
|