首页>代码>spring mvc+spring+mybatis+shiro+easyui整合开发后台用户权限管理系统改造为基于dubbo的分布式服务项目>/spring_shiro_training/spring_shiro_training_api/src/main/java/com/wangzhixuan/model/SysLog.java
package com.wangzhixuan.model; import com.fasterxml.jackson.annotation.JsonFormat; import java.io.Serializable; import java.util.Date; public class SysLog implements Serializable { private static final long serialVersionUID = -8690056878905494181L; private Long id; private String loginName; private String roleName; private String optContent; private String clientIp; @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss") private Date createTime; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getLoginName() { return loginName; } public void setLoginName(String loginName) { this.loginName = loginName == null ? null : loginName.trim(); } public String getRoleName() { return roleName; } public void setRoleName(String roleName) { this.roleName = roleName == null ? null : roleName.trim(); } public String getOptContent() { return optContent; } public void setOptContent(String optContent) { this.optContent = optContent == null ? null : optContent.trim(); } public String getClientIp() { return clientIp; } public void setClientIp(String clientIp) { this.clientIp = clientIp == null ? null : clientIp.trim(); } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } @Override public String toString() { return "SysLog{" + "id=" + id + ", loginName='" + loginName + '\'' + ", roleName='" + roleName + '\'' + ", optContent='" + optContent + '\'' + ", clientIp='" + clientIp + '\'' + ", createTime=" + createTime + '}'; } }