package net.halfbinary.scavengerhuntapi.model.converter import net.halfbinary.scavengerhuntapi.model.domain.TeamHunt import net.halfbinary.scavengerhuntapi.model.record.TeamHuntRecord fun TeamHunt.toRecord(): TeamHuntRecord { return TeamHuntRecord(id, teamId, huntId) } fun TeamHuntRecord.toDomain(): TeamHunt { return TeamHunt(id, teamId, huntId) }