Annotate ProfileView and add Actions property

ProfileView is now mapped to the VWREC_PROFILE table using the
[Table] attribute. Added an Actions property to support related
RecActionView collections.
This commit is contained in:
2026-01-12 12:50:05 +01:00
parent e1260e49f0
commit bfe6c12ee0

View File

@@ -6,6 +6,8 @@ namespace ReC.Domain.Views;
[Table("VWREC_PROFILE", Schema = "dbo")]
public record ProfileView
{
public virtual IEnumerable<RecActionView>? Actions { get; init; }
public long Id { get; init; }
public bool Active { get; init; }