diff --git a/client/src/main/kotlin/org/hso/texturesyncclient/model/DataModel.kt b/client/src/main/kotlin/org/hso/texturesyncclient/model/DataModel.kt index aef14ef..089a425 100644 --- a/client/src/main/kotlin/org/hso/texturesyncclient/model/DataModel.kt +++ b/client/src/main/kotlin/org/hso/texturesyncclient/model/DataModel.kt @@ -1,4 +1,21 @@ package org.hso.texturesyncclient.model +import java.util.* + class DataModel { -} \ No newline at end of file +} + +enum class TextureFormat { + PNG, JPEG, +} + +@Suppress("ArrayInDataClass") +data class Texture( + val id : UUID, + val name : String, + val tags : Array, + val format : TextureFormat, + val resolution : Pair, + val addedOn : Date, + val textureHash : ByteArray +)