35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
|
using EventVisitorModels;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel.Design;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace EventVisitorLogic.BindingModels
|
|||
|
{
|
|||
|
public class EventBindingModel: 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 Dictionary<int, IOrganizerModel> OrganizerEvent
|
|||
|
{
|
|||
|
get;
|
|||
|
set;
|
|||
|
} = new();
|
|||
|
}
|
|||
|
}
|