package org.octopus.internal.common.mappers

import org.mapstruct.Mapper
import org.octopus.internal.common.models.Entry
import org.octopus.internal.db.entities.EntryEntity

@Mapper(componentModel = "spring")
interface EntryMapper : GenericMapper<Entry, EntryEntity>


/*
*
*
@Mapper(componentModel = "spring")
interface WorkerMapper : GenericMapper<Worker, WorkerEntity> {
    @Mapping(target = "authUser", ignore = true)
    override fun toEntity(model: Worker): WorkerEntity
}
*
* */