Refactor RecActionView Profile property; add ProfileViewDto
Changed RecActionView.Profile to use ProfileView type instead of Profile entity. Added new ProfileViewDto class to represent profile data as a DTO, including related properties and audit fields.
This commit is contained in:
@@ -22,7 +22,7 @@ public class RecActionView
|
||||
public long? ProfileId { get; set; }
|
||||
|
||||
[ForeignKey("ProfileId")]
|
||||
public Profile? Profile { get; set; }
|
||||
public ProfileView? Profile { get; set; }
|
||||
|
||||
public string? ProfileName { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user