Browse Source

添加注释

James 4 years ago
parent
commit
a247f965e3
1 changed files with 9 additions and 1 deletions
  1. 9 1
      src/main/java/com/jfinal/plugin/activerecord/IRow.java

+ 9 - 1
src/main/java/com/jfinal/plugin/activerecord/IRow.java

@@ -13,8 +13,16 @@ public interface IRow<M> {
 
     public M put(Map<String, Object> map);
 
-    public M set(String attr, Object value);
+    /**
+     * Set column to record.
+     * @param column the column name
+     * @param value the value of the column
+     */
+    public M set(String column, Object value);
 
+    /**
+     * Get column of any mysql type
+     */
     public <T> T get(String column);
 
     /**