Initial commit
This commit is contained in:
24
Activity.cs
Normal file
24
Activity.cs
Normal file
@ -0,0 +1,24 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user