Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: moving files from database module to model module #2275

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Darkeye14
Copy link
Contributor

Fixes JIRA

WhatsApp.Video.2024-12-27.at.16.15.22_f262dee6.mp4

@itsPronay
Copy link
Contributor

itsPronay commented Dec 27, 2024

@Darkeye14 There are some classes like Loan, Loans, CenterAccounts etc that are not annotated with @ModelContainer and yet they are still part of the database module. Could you please clarify!

image

@Darkeye14
Copy link
Contributor Author

@Darkeye14 There are some classes like Loan, Loans, CenterAccounts etc that are not annotated with @ModelContainer and yet they are still part of the database module. Could you please clarify!

image

Bhai, ive explained it on slack bhai

@therajanmaurya
Copy link
Member

@niyajali Review

import com.mifos.core.objects.client.Status
import com.mifos.core.objects.group.Center
import com.mifos.core.dbobjects.client.Status
import com.mifos.core.dbobjects.group.Center
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename dbobject package to model

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or entity

@@ -10,7 +10,7 @@
package com.mifos.core.data

import android.os.Parcelable
import com.mifos.core.objects.noncore.DataTablePayload
import com.mifos.core.dbobjects.noncore.DataTablePayload
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this files in network model package and why we need payload in database module if you needed that data class than rename to LoanEntity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants