Interface ITicketMapper
public interface ITicketMapper
- Author:
- Nuri Can ÖZTÜRK Represents the ticket mapper. CopyRight(C) 2023 by Call Of Project Teams.
-
Method Summary
Modifier and TypeMethodDescriptioncallofproject.dev.service.ticket.entity.TickettoTicket(TicketCreateDTO ticketDTO) Converts the ticket create DTO to ticket.toTicketDTO(callofproject.dev.service.ticket.entity.Ticket ticket) Converts the ticket to ticket DTO.toTicketUserViewDTO(callofproject.dev.service.ticket.entity.Ticket ticket) Converts the ticket to ticket user view DTO.
-
Method Details
-
toTicketDTO
Converts the ticket to ticket DTO.- Parameters:
ticket- represents the ticket- Returns:
- The ticket DTO.
-
toTicket
Converts the ticket create DTO to ticket.- Parameters:
ticketDTO- represents the ticket create DTO- Returns:
- The ticket.
-
toTicketUserViewDTO
Converts the ticket to ticket user view DTO.- Parameters:
ticket- represents the ticket- Returns:
- The ticket user view DTO.
-