Skip to content

Commit

Permalink
refactor: make pet entity reference to owner (instead of owner to pet)
Browse files Browse the repository at this point in the history
  • Loading branch information
russkyc committed Jun 7, 2023
1 parent 94be1ec commit e763e9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Russkyc.GroomWise/Models/Entities/Pet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ public class Pet : IPet
public string? Type { get; set; }
public string? Allergies { get; set; }
public int? AppointmentId { get; set; }
public int? OwnerId { get; set; }
}
5 changes: 3 additions & 2 deletions Russkyc.GroomWise/Models/Interfaces/Entity/IPet.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (C) 2023 Russell Camo (Russkyc).- All Rights Reserved
//
//
// Unauthorized copying or redistribution of all files, in source and binary forms via any medium
// without written, signed consent from the author is strictly prohibited.

Expand All @@ -12,4 +12,5 @@ public interface IPet : IEntity
int? Age { get; set; }
string? Allergies { get; set; }
int? AppointmentId { get; set; }
}
int? OwnerId { get; set; }
}

0 comments on commit e763e9f

Please sign in to comment.