Files
gpw_next/GPW.CORE.Comp/CalendarEvent.cs
T
2023-01-19 12:16:39 +01:00

35 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GPW.CORE.Comp
{
public class CalendarEvent
{
public CalendarEvent(int id, DateTime Inizio, DateTime Fine, string cssClass, string Title, string Description, string Icon, string Type, string ToolTip)
{
this.id = id;
this.Inizio = Inizio;
this.Fine = Fine;
this.CssClass = CssClass;
this.Title = Title;
this.Description = Description;
this.Icon = Icon;
this.Type = Type;
this.ToolTip = ToolTip;
}
public int id { get; set; } = 0;
public DateTime Inizio { get; set; } = DateTime.Today.AddHours(8);
public DateTime Fine { get; set; } = DateTime.Today.AddHours(10);
public string CssClass { get; set; } = "";
public string Title { get; set; } = "";
public string Description { get; set; } = "";
public string Icon { get; set; } = "";
public string Type { get; set; } = "";
public string ToolTip { get; set; } = "";
}
}