CourseWork_EventVisitor/EventVisitor/EventVisitorLogic/ViewModels/EventViewModel.cs

29 lines
1.0 KiB
C#
Raw Normal View History

2024-11-03 01:20:30 +04:00
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; }
public int OrganizerId { get; set; }
2024-11-03 01:20:30 +04:00
}
}