]> git.ktnx.net Git - mobile-ledger.git/commitdiff
account_id → accountId
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 4 Apr 2021 09:21:51 +0000 (12:21 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 4 Apr 2021 09:21:51 +0000 (12:21 +0300)
app/schemas/net.ktnx.mobileledger.db.DB/59.json
app/src/main/java/net/ktnx/mobileledger/db/AccountValue.java

index 414bfbe28d9d3610630cd99206456e316ecdda5c..5896bcac570b8dec557063582c58f8501d6a9625 100644 (file)
             "notNull": true
           },
           {
-            "fieldPath": "account_id",
+            "fieldPath": "accountId",
             "columnName": "account_id",
             "affinity": "INTEGER",
             "notNull": true
index 0b39c4756be500b3a6ea655aa13981b4fed10217..cc8075644974c9092aeeb93f74f03737309de202 100644 (file)
@@ -36,8 +36,8 @@ public class AccountValue {
     @ColumnInfo
     @PrimaryKey(autoGenerate = true)
     long id;
-    @ColumnInfo
-    private long account_id;
+    @ColumnInfo(name = "account_id")
+    private long accountId;
     @NonNull
     @ColumnInfo(defaultValue = "")
     private String currency = "";
@@ -51,11 +51,11 @@ public class AccountValue {
     public void setId(long id) {
         this.id = id;
     }
-    public long getAccount_id() {
-        return account_id;
+    public long getAccountId() {
+        return accountId;
     }
-    public void setAccount_id(long account_id) {
-        this.account_id = account_id;
+    public void setAccountId(long accountId) {
+        this.accountId = accountId;
     }
     @NonNull
     public String getCurrency() {