Skip to content

Commit

Permalink
Merge pull request ardalis#61 from Rahtgaz/fix-roomdto-mapping
Browse files Browse the repository at this point in the history
Fix Room -> RoomDTO mapping
  • Loading branch information
ardalis authored Apr 24, 2023
2 parents 4cee19a + a0c1815 commit 5d8eca1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ClinicManagement/src/ClinicManagement.Core/Aggregates/Room.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ public class Room : BaseEntity<int>, IAggregateRoot
{
public string Name { get; set; }

private Room() { }

public Room(int id, string name)
{
Id = id;
Expand Down

0 comments on commit 5d8eca1

Please sign in to comment.