add architecture skeleton
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
namespace GymLogAI.API.Contracts;
|
||||
|
||||
public sealed record WorkoutHistoryItemResponse(
|
||||
Guid Id,
|
||||
DateTime PerformedAtUtc,
|
||||
string? Title,
|
||||
string? Notes,
|
||||
IReadOnlyCollection<WorkoutHistoryExerciseResponse> Exercises);
|
||||
|
||||
public sealed record WorkoutHistoryExerciseResponse(
|
||||
Guid ExerciseId,
|
||||
string Name,
|
||||
int Order,
|
||||
string? Notes,
|
||||
IReadOnlyCollection<WorkoutHistorySetResponse> Sets);
|
||||
|
||||
public sealed record WorkoutHistorySetResponse(
|
||||
int Order,
|
||||
int? Repetitions,
|
||||
decimal? WeightKg,
|
||||
int? DurationSeconds,
|
||||
decimal? DistanceMeters,
|
||||
string? Notes);
|
||||
Reference in New Issue
Block a user