therajanmaurya commented on a change in pull request #10: feat: Sync feature for customer and customer details URL: https://github.com/apache/fineract-cn-mobile/pull/10#discussion_r203731597
########## File path: app/src/main/java/org/apache/fineract/data/models/customer/DateOfBirth.kt ########## @@ -2,11 +2,18 @@ package org.apache.fineract.data.models.customer import android.os.Parcelable import com.google.gson.annotations.SerializedName +import com.raizlabs.android.dbflow.annotation.ConflictAction +import com.raizlabs.android.dbflow.annotation.PrimaryKey +import com.raizlabs.android.dbflow.annotation.Table +import com.raizlabs.android.dbflow.structure.BaseModel import kotlinx.android.parcel.Parcelize +import org.apache.fineract.data.local.database.AppDatabase @Parcelize +@Table(database = AppDatabase::class, allFields = true) data class DateOfBirth( + @PrimaryKey(autoincrement = true) Review comment: Wrong same as above logic, can't make year PrimaryKey ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
