Exemple #1
0
        public ShowDTO map(ShowModel showmodel)
        {
            ShowDTO dto = new ShowDTO();

            dto.setID(showmodel.getID());
            dto.setGenre(showmodel.getGenre());
            dto.setDistribution(showmodel.getDistribution());
            dto.setDate(showmodel.getDate());
            dto.setNumberOfTickets(showmodel.getNumberOfTickets());
            dto.setTitle(showmodel.getTitle());

            return(dto);
        }