Added first datatypes
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/Theme.ShapPlanner">
|
android:theme="@style/Theme.ShapPlanner">
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".activities.MainActivity"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:theme="@style/Theme.ShapPlanner">
|
android:theme="@style/Theme.ShapPlanner">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
package de.miaurizius.shap_planner
|
package de.miaurizius.shap_planner.activities
|
||||||
|
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import androidx.activity.ComponentActivity
|
import androidx.activity.ComponentActivity
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
package de.miaurizius.shap_planner.entities
|
||||||
|
|
||||||
|
import java.util.UUID
|
||||||
|
|
||||||
|
data class Expense (
|
||||||
|
val id: UUID,
|
||||||
|
val amt: Double,
|
||||||
|
val desc: String,
|
||||||
|
|
||||||
|
val payerId: UUID,
|
||||||
|
val debtors: List<User>
|
||||||
|
)
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
package de.miaurizius.shap_planner.entities
|
||||||
|
|
||||||
|
import java.util.UUID
|
||||||
|
|
||||||
|
data class User (
|
||||||
|
val id: UUID,
|
||||||
|
val name: String,
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user