Add AutoMapper
This commit is contained in:
17
LaDOSE.Src/LaDOSE.DTO/WPEventDTO.cs
Normal file
17
LaDOSE.Src/LaDOSE.DTO/WPEventDTO.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user