Coverage Summary for Class: NoteDataMapperKt (com.stslex93.notes.core.notes.model)

Class Class, % Method, % Branch, % Line, % Instruction, %
NoteDataMapperKt 0% (0/1) 0% (0/2) 0% (0/12) 0% (0/26)


 package com.stslex93.notes.core.notes.model
 
 import com.stslex93.notes.core.database.note.NoteEntity
 
 fun NoteDataModel.toEntity() = NoteEntity(
     id = id,
     title = title,
     content = content,
     timestamp = timestamp,
     labels = labelUuids
 )
 
 fun NoteEntity.toData() = NoteDataModel(
     id = id,
     title = title,
     content = content,
     timestamp = timestamp,
     labelUuids = labels
 )