CourseWork_EventVisitor/EventVisitor/EventVisitorLogic/ViewModels/EventViewModel.cs

28 lines
994 B
C#

using EventVisitorModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EventVisitorLogic.ViewModels
{
public class EventViewModel: IEventModel
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public DateTime Date { get; set; }
public DateTime TimeStart { get; set; }
public DateTime TimeEnd { get; set; }
public string Description { get; set; } = string.Empty;
public string Type { get; set; } = string.Empty;
public string ContactPhone { get; set; } = string.Empty;
public string ContactEmail { get; set; } = string.Empty;
public string Address { get; set; } = string.Empty;
public string City { get; set; } = string.Empty;
public string Status { get; set; } = string.Empty;
public int CountVisitors { get; set; }
public int FreePlaces { get; set; }
}
}