import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class BlogPostDto (override var id:Long, override var dateCreated: Long, override var dateUpdated: Long): DataTransportObject{
var title:String = ""
var description:String = ""
var content:String = ""
@SerialName("secRoleDetailAuthor")
var secRoleDetailAuthor:DtoMin = DtoMin(0,0,0)
}
interface DataTransportObject {
var id: Long
var dateCreated: Long
var dateUpdated: Long
}
When trying to log data classes in my Multi-Platform kotlin react project i see the results just like the screen shot. I am assuming i did something wrong, just not sure what…