Skip to content

Commit

Permalink
refactor: remove setter for CreatedAt
Browse files Browse the repository at this point in the history
  • Loading branch information
Dannyps committed Oct 13, 2023
1 parent d817166 commit 82df8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Messages/src/Messages.Domain/Entities/Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public Message(IdentityAddress createdBy, DeviceId createdByDevice, DateTime? do

public MessageId Id { get; }

public DateTime CreatedAt { get; set; }
public DateTime CreatedAt { get; }
public IdentityAddress CreatedBy { get; }
public DeviceId CreatedByDevice { get; }

Expand Down

0 comments on commit 82df8b5

Please sign in to comment.