feat(shared): add ResourceDto for resource catalog

Closes #118
This commit is contained in:
Jens Reinemann 2026-05-18 22:00:45 +02:00
parent ae3cf3e660
commit 332b814e14

View file

@ -0,0 +1,21 @@
package de.bollwerk.shared.model
import kotlinx.serialization.Serializable
@Serializable
data class ResourceDto(
val guid: String,
val title: String,
val description: String,
val tags: List<String>,
val fileFormat: String,
val mimeType: String,
val fileSize: Long,
val releaseDate: String? = null,
val createdAt: Long,
val updatedAt: Long,
val author: String? = null,
val language: String? = null,
val edition: String? = null,
val downloadUrl: String = ""
)