Skip to content

Commit 1e1e6e6

Browse files
refactor: make prop required
1 parent 8d73d8a commit 1e1e6e6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Modules/Quotas/src/Quotas.Domain/Aggregates/Relationships/Relationship.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
namespace Backbone.Modules.Quotas.Domain.Aggregates.Relationships;
22
public class Relationship : ICreatedAt
33
{
4-
public string? Id { get; set; }
5-
public string? From { get; set; }
6-
public string? To { get; set; }
7-
public RelationshipStatus Status { get; set; }
8-
public DateTime CreatedAt { get; set; }
4+
public required string Id { get; set; }
5+
public required string From { get; set; }
6+
public required string To { get; set; }
7+
public required RelationshipStatus Status { get; set; }
8+
public required DateTime CreatedAt { get; set; }
99
}
1010
public enum RelationshipStatus
1111
{

0 commit comments

Comments
 (0)