initial design of domain
All checks were successful
Log every push / log-push (push) Successful in 2s
All checks were successful
Log every push / log-push (push) Successful in 2s
This commit is contained in:
16
theInterfacePro/Code/Core/Sprint.cs
Normal file
16
theInterfacePro/Code/Core/Sprint.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Code.Core;
|
||||
|
||||
public class Sprint
|
||||
{
|
||||
public int SprintNumber { get; set; }
|
||||
public DateTime StartDate { get; set; }
|
||||
public DateTime EndDate { get; set; }
|
||||
public bool IsActive { get; set; } = false;
|
||||
public List<UserStory> UserStories { get; set; } = new List<UserStory>();
|
||||
|
||||
public void MarkStoryDone(UserStory userStory)
|
||||
{
|
||||
var story = UserStories.First(x => x.Title == userStory.Title);
|
||||
story.IsComplete = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user