19 lines
550 B
C#
19 lines
550 B
C#
namespace GeometryTD.Definition
|
|
{
|
|
public class EventItem
|
|
{
|
|
public EventItem(int id, string title, string description, EventOption[] options)
|
|
{
|
|
Id = id;
|
|
Title = title;
|
|
Description = description;
|
|
Options = options ?? System.Array.Empty<EventOption>();
|
|
}
|
|
|
|
public int Id { get; private set; }
|
|
public string Title { get; private set; }
|
|
public string Description { get; private set; }
|
|
public EventOption[] Options { get; private set; }
|
|
}
|
|
}
|