21 lines
481 B
C#
21 lines
481 B
C#
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; }
|
|
}
|
|
}
|