Created Sprint domain model with full business logic and validation: - SprintId value object - SprintStatus enum (Planned/Active/Completed) - Sprint aggregate root with lifecycle management - 7 domain events (Created, Updated, Started, Completed, Deleted, TaskAdded, TaskRemoved) Business Rules Implemented: - Sprint duration validation (1-30 days) - Status transitions (Planned → Active → Completed) - Task management (add/remove with validation) - Cannot modify completed sprints Story 3 Task 1/6 completed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
9 lines
269 B
C#
9 lines
269 B
C#
using MediatR;
|
|
|
|
namespace ColaFlow.Modules.ProjectManagement.Domain.Events;
|
|
|
|
/// <summary>
|
|
/// Event raised when a Task is removed from a Sprint
|
|
/// </summary>
|
|
public sealed record TaskRemovedFromSprintEvent(Guid SprintId, Guid TaskId, Guid ProjectId) : INotification;
|