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; }
|
2024-11-04 19:46:16 +04:00
|
|
|
|
public int OrganizerId { get; set; }
|
2024-11-04 20:28:47 +04:00
|
|
|
|
public string Link { get; set; } = string.Empty;
|
2024-11-03 01:20:30 +04:00
|
|
|
|
}
|
|
|
|
|
}
|