24 lines
534 B
C#
24 lines
534 B
C#
namespace Activities
|
|
{
|
|
public class Activity(string title, DateOnly date, string description)
|
|
{
|
|
private readonly string title = title;
|
|
private readonly DateOnly date = date;
|
|
private readonly string description = description;
|
|
|
|
public string GetTitle()
|
|
{
|
|
return this.title;
|
|
}
|
|
|
|
public DateOnly GetDate()
|
|
{
|
|
return this.date;
|
|
}
|
|
|
|
public string GetDescription()
|
|
{
|
|
return this.description;
|
|
}
|
|
}
|
|
} |