Upload project.

This commit is contained in:
StevenJW
2020-06-07 22:36:12 +01:00
parent 0df30b8f36
commit 5829fb5504
170 changed files with 31989 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace ThAmCo.Events.Models
{
public class EventTypeDto
{
[Required, MaxLength(3), MinLength(3)]
public string TypeId { get; set; }
public string Title { get; set; }
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ThAmCo.Events.Models.Dto
{
public class MenuDTO
{
public int Id { get; set; }
public string Items { get; set; }
public double Price { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace ThAmCo.Events.Models
{
public class ReservationCreateDto
{
[Required, DataType(DataType.Date)]
public DateTime EventDate { get; set; }
[Required, MinLength(5), MaxLength(5)]
public string VenueCode { get; set; }
[Required]
public string StaffId { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ThAmCo.Events.Models
{
public class ReservationDto
{
public string Reference { get; set; }
public DateTime EventDate { get; set; }
public string VenueCode { get; set; }
public DateTime whenMade { get; set; }
public string StaffId { get; set; }
}
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ThAmCo.Events.Models
{
public class VenueDto
{
public string Code { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public int Capacity { get; set; }
public DateTime Date { get; set; }
public double CostPerHour { get; set; }
}
}