19 lines
430 B
C#
19 lines
430 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace ThAmCo.Venues.Models
|
|
{
|
|
public class ReservationPostDto
|
|
{
|
|
[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; }
|
|
}
|
|
}
|