Add AutoMapper

This commit is contained in:
2019-03-12 22:23:38 +01:00
parent 3b16c5feaf
commit 30f64257e7
16 changed files with 137 additions and 59 deletions

View File

@@ -0,0 +1,17 @@

using System;
using System.Collections.Generic;
namespace LaDOSE.DTO
{
public class WPEventDTO
{
// Id, Name, Slug, Date
public int Id { get; set; }
public string Name { get; set; }
public string Slug { get; set; }
public DateTime? Date { get; set; }
public List<WPBookingDTO> WpBookings { get; set; }
}
}