首页>代码>SSM+apache Shiro+Jquery+Maven构建的网站后台管理系统>/CGB-JT-SYS-V1.05/src/main/java/com/jt/common/entity/BaseEntity.java
package com.jt.common.entity; import java.util.Date; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.jt.common.util.DateFormatConverter; public class BaseEntity { private Date createdTime; private Date modifiedTime; private String createdUser; private String modifiedUser; @JsonSerialize(using=DateFormatConverter.class) public Date getCreatedTime() { return createdTime; } public void setCreatedTime(Date createdTime) { this.createdTime = createdTime; } @JsonSerialize(using=DateFormatConverter.class) public Date getModifiedTime() { return modifiedTime; } public void setModifiedTime(Date modifiedTime) { this.modifiedTime = modifiedTime; } public String getCreatedUser() { return createdUser; } public void setCreatedUser(String createdUser) { this.createdUser = createdUser; } public String getModifiedUser() { return modifiedUser; } public void setModifiedUser(String modifiedUser) { this.modifiedUser = modifiedUser; } }