Skip to content

Commit

Permalink
h-fix in the entity
Browse files Browse the repository at this point in the history
  • Loading branch information
mutukuian committed May 13, 2024
1 parent 00aee2f commit 3dbc2de
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ import com.example.kocelainterview.data.remote.dto.ShipDto

@Entity(tableName = "ships")
data class ShipEntity(
@PrimaryKey val ship_id: String,
@PrimaryKey val id:Int,
val ship_id: String,
val active: Boolean,
val image: String?,
val image: String,
val ship_name: String,
val weight_kg: Int,
val year_built: Int
Expand Down

0 comments on commit 3dbc2de

Please sign in to comment.