Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mutukuian committed May 13, 2024
1 parent e10cd6d commit 0ec7387
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
package com.example.kocelainterview.data.local_data_source

import androidx.room.Entity
import androidx.room.PrimaryKey
import com.example.kocelainterview.data.remote.dto.ShipDto

@Entity(tableName = "ships")
data class ShipEntity(
// @PrimaryKey val id:Int,

val ship_id: String,
val active: Boolean,
val image: String,
val ship_name: String,
@PrimaryKey
val weight_kg: Int,
val year_built: Int
)
Expand Down

0 comments on commit 0ec7387

Please sign in to comment.