不确定我做错了什么
/**
* Converts a DTO to its entity representation.
*
* @param dto The source DTO
* @return [EmergencyContactEntity] containing the mapped data
*/
/***********************/
/* FROM DTO TO ENTITY. */
/***********************/
internal fun toEntity(dto: EmergencyContactDTO): EmergencyContactEntity {
return EmergencyContactDTOEntityMapMapper.toEntity(dto)
}
在我将代码推送到 repo 之前,IntelliJ 给出了:
Warning:(24, 15) Cannot resolve symbol 'dto'
有什么想法吗?