Skip to content

Commit

Permalink
Add not mapped field IsExpanded to workout
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramo-Y committed Nov 2, 2024
1 parent 7edaf13 commit d9f687d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/PersonalRecord.Domain/Models/Entities/Workout.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
namespace PersonalRecord.Domain.Models.Entities
{
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

public class Workout
{
Expand All @@ -14,5 +15,8 @@ public class Workout
public string WokNotes { get; set; }

public List<WorkoutToExercise> WokWorkoutToExerciseItems { get; set; }

[NotMapped]
public bool IsExpanded { get; set; }
}
}

0 comments on commit d9f687d

Please sign in to comment.