package eu.darken.sdmse.common.room

import androidx.room.TypeConverter
import eu.darken.sdmse.main.core.SDMTool

class SDMToolTypeConverter {
    @TypeConverter
    fun from(value: SDMTool.Type): String = value.name

    @TypeConverter
    fun to(value: String): SDMTool.Type = SDMTool.Type.valueOf(value)
}