Y2S1-Web_Apps_and_Services/ThAmCo.Events/Models/ViewModels/Events/EventEditModel.cs

19 lines
390 B
C#
Raw Permalink Normal View History

2020-06-07 21:36:12 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace ThAmCo.Events.Models.ViewModels.Events
{
public class EventEditModel
{
public int Id { get; set; }
[Required]
public string Title { get; set; }
public TimeSpan? Duration { get; set; }
}
}