diff --git a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/domain/LymsLogs.java b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/domain/LymsLogs.java
index edf0ee1..837bd3e 100644
--- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/domain/LymsLogs.java
+++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/domain/LymsLogs.java
@@ -24,8 +24,8 @@ public class LymsLogs implements Serializable {
/**
*
*/
- @TableField(value = "class")
- private String class;
+ @TableField(value = "cls")
+ private String cls;
/**
*
@@ -73,7 +73,7 @@ public class LymsLogs implements Serializable {
}
LymsLogs other = (LymsLogs) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
- && (this.getClass() == null ? other.getClass() == null : this.getClass().equals(other.getClass()))
+ && (this.getCls() == null ? other.getCls() == null : this.getCls().equals(other.getCls()))
&& (this.getFunc() == null ? other.getFunc() == null : this.getFunc().equals(other.getFunc()))
&& (this.getLvl() == null ? other.getLvl() == null : this.getLvl().equals(other.getLvl()))
&& (this.getLogger() == null ? other.getLogger() == null : this.getLogger().equals(other.getLogger()))
@@ -86,7 +86,7 @@ public class LymsLogs implements Serializable {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
- result = prime * result + ((getClass() == null) ? 0 : getClass().hashCode());
+ result = prime * result + ((getCls() == null) ? 0 : getCls().hashCode());
result = prime * result + ((getFunc() == null) ? 0 : getFunc().hashCode());
result = prime * result + ((getLvl() == null) ? 0 : getLvl().hashCode());
result = prime * result + ((getLogger() == null) ? 0 : getLogger().hashCode());
@@ -102,7 +102,7 @@ public class LymsLogs implements Serializable {
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
- sb.append(", class=").append(class);
+ sb.append(", cls=").append(cls);
sb.append(", func=").append(func);
sb.append(", lvl=").append(lvl);
sb.append(", logger=").append(logger);
diff --git a/talkonlineweb/src/main/resources/mapper/LymsLogsMapper.xml b/talkonlineweb/src/main/resources/mapper/LymsLogsMapper.xml
index 663a079..d720216 100644
--- a/talkonlineweb/src/main/resources/mapper/LymsLogsMapper.xml
+++ b/talkonlineweb/src/main/resources/mapper/LymsLogsMapper.xml
@@ -6,7 +6,7 @@
-
+
@@ -15,7 +15,7 @@
- id,class,func,
+ id,cls,func,
lvl,logger,message,
log_date