Refactoring

This commit is contained in:
2021-09-06 23:00:01 +02:00
parent 605659a224
commit 1367955396
17 changed files with 114 additions and 86 deletions
@@ -1,7 +1,8 @@
package com.ericampire.android.androidstudycase.domain.entity
import androidx.room.ColumnInfo
import androidx.room.Embedded
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@@ -40,11 +41,9 @@ data class Lottiefile(
var gifUrl: String? = "",
var videoUrl: String? = "",
var imageUrl: String? = "",
var name: String = "",
// @TypeConverters(DateConverter::class)
// @Serializable(with = DateSerializer::class)
@ColumnInfo(name = "file_name") var name: String = "",
var createdAt: String = "",
@Ignore var createdBy: Animator? = null
@Embedded var createdBy: Animator? = null
)
@@ -0,0 +1,3 @@
package com.ericampire.android.androidstudycase.domain.usecase
internal class SaveUserUseCaseTest