Created
June 3, 2025 21:57
-
-
Save fancyvanilla/f13aafaea0a09a65781749ef7f9c2784 to your computer and use it in GitHub Desktop.
A Gist created from a code selection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tn.mariemby.jee.challenge_stage.mappers; | |
import org.mapstruct.Mapper; | |
import tn.mariemby.jee.challenge_stage.auth.dtos.CreateUserDto; | |
import tn.mariemby.jee.challenge_stage.tasks.dtos.CreateTaskDto; | |
import tn.mariemby.jee.challenge_stage.tasks.entities.Task; | |
import tn.mariemby.jee.challenge_stage.users.dtos.UserDto; | |
import tn.mariemby.jee.challenge_stage.users.entities.User; | |
@Mapper(componentModel = "spring") | |
public interface TaskMapper { | |
Task toTask(CreateTaskDto taskDto); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment