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 Type
    Method
    Description
    callofproject.dev.service.ticket.entity.Ticket
    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

      TicketDTO toTicketDTO(callofproject.dev.service.ticket.entity.Ticket ticket)
      Converts the ticket to ticket DTO.
      Parameters:
      ticket - represents the ticket
      Returns:
      The ticket DTO.
    • toTicket

      callofproject.dev.service.ticket.entity.Ticket toTicket(TicketCreateDTO ticketDTO)
      Converts the ticket create DTO to ticket.
      Parameters:
      ticketDTO - represents the ticket create DTO
      Returns:
      The ticket.
    • toTicketUserViewDTO

      TicketUserViewDTO toTicketUserViewDTO(callofproject.dev.service.ticket.entity.Ticket ticket)
      Converts the ticket to ticket user view DTO.
      Parameters:
      ticket - represents the ticket
      Returns:
      The ticket user view DTO.