mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
enhance mapping for ORM
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package com.alibaba.druid.mapping;
|
||||
|
||||
public class Property {
|
||||
|
||||
private String name;
|
||||
private String desciption;
|
||||
private String dbColumnName;
|
||||
@@ -39,4 +38,16 @@ public class Property {
|
||||
this.desciption = desciption;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
buf.append("{name=");
|
||||
buf.append(name);
|
||||
|
||||
buf.append(", dbColumnName=");
|
||||
buf.append(dbColumnName);
|
||||
|
||||
buf.append("}");
|
||||
|
||||
return buf.toString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user