first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
namespace Fitness_core_BE.DTOs.Workout
|
||||
{
|
||||
public class CustomerWorkoutDto
|
||||
{
|
||||
public Guid CustomerWorkoutId { get; set; }
|
||||
public Guid CustomerId { get; set; }
|
||||
public string? CustomerName { get; set; }
|
||||
public Guid WorkoutPlanId { get; set; }
|
||||
public string? WorkoutPlanName { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
public bool IsFollowing { get; set; }
|
||||
public DateTime AssignedDate { get; set; }
|
||||
public DateTime? CompletedDate { get; set; }
|
||||
public string? Notes { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Fitness_core_BE.DTOs.Workout
|
||||
{
|
||||
public class WorkoutCategoryDto
|
||||
{
|
||||
public Guid WorkoutCategoryId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string? Description { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
public DateTime CreateDate { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace Fitness_core_BE.DTOs.Workout
|
||||
{
|
||||
public class WorkoutExerciseDto
|
||||
{
|
||||
public Guid WorkoutExerciseId { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string? MuscleGroup { get; set; }
|
||||
public int? Sets { get; set; }
|
||||
public string? Reps { get; set; }
|
||||
public string? Description { get; set; }
|
||||
public string? BreathIn { get; set; }
|
||||
public string? BreathOut { get; set; }
|
||||
public string? VideoUrl { get; set; }
|
||||
public int SortOrder { get; set; }
|
||||
public bool IsCompleted { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
namespace Fitness_core_BE.DTOs.Workout
|
||||
{
|
||||
public class WorkoutItemDto
|
||||
{
|
||||
public Guid WorkoutItemId { get; set; }
|
||||
public string ExerciseDay { get; set; } = string.Empty;
|
||||
public string? Description { get; set; }
|
||||
public string? Exercises { get; set; }
|
||||
public string? HowToDo { get; set; }
|
||||
public string? DoURL { get; set; }
|
||||
public string? Duration { get; set; }
|
||||
public string? WormUp { get; set; }
|
||||
public string? Cooldown { get; set; }
|
||||
public Guid WorkoutPlanId { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
public DateTime CreateDate { get; set; }
|
||||
public DateTime? UpdatedAt { get; set; }
|
||||
public List<WorkoutExerciseDto> WorkoutExercises { get; set; } = new List<WorkoutExerciseDto>();
|
||||
public int TotalExercises { get; set; }
|
||||
public int CompletedExercises { get; set; }
|
||||
public bool IsCompleted { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
namespace Fitness_core_BE.DTOs.Workout
|
||||
{
|
||||
public class WorkoutPlanDetailDto
|
||||
{
|
||||
public Guid WorkoutPlanId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string? Description { get; set; }
|
||||
public bool IsTemplate { get; set; }
|
||||
public Guid WorkoutCategoryId { get; set; }
|
||||
public string WorkoutCategoryName { get; set; }
|
||||
public Guid? ClientId { get; set; }
|
||||
public string? ClientName { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
public DateTime CreateDate { get; set; }
|
||||
public List<WorkoutItemDto> WorkoutItems { get; set; } = new List<WorkoutItemDto>();
|
||||
public List<CustomerWorkoutDto> AssignedCustomers { get; set; } = new List<CustomerWorkoutDto>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace Fitness_core_BE.DTOs.Workout
|
||||
{
|
||||
public class WorkoutPlanDto
|
||||
{
|
||||
public Guid WorkoutPlanId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string? Description { get; set; }
|
||||
public bool IsTemplate { get; set; }
|
||||
public Guid WorkoutCategoryId { get; set; }
|
||||
public string WorkoutCategoryName { get; set; }
|
||||
public Guid? ClientId { get; set; }
|
||||
public string? ClientName { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
public DateTime CreateDate { get; set; }
|
||||
public List<CustomerWorkoutDto> AssignedCustomers { get; set; } = new List<CustomerWorkoutDto>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user