first commit

This commit is contained in:
Dhananjaya99
2026-09-28 11:44:26 +05:30
parent 721743ae6b
commit bffc9b1686
424 changed files with 46474 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
namespace Fitness_core_BE.DTOs.Meal
{
public class CustomerMealDto
{
public Guid CustomerMealId { get; set; }
public Guid CustomerId { get; set; }
public string? CustomerName { get; set; }
public Guid MealPlanId { get; set; }
public string? MealPlanName { 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; }
}
}
+11
View File
@@ -0,0 +1,11 @@
namespace Fitness_core_BE.DTOs.Meal
{
public class MealCategoryDto
{
public Guid MealCategoryId { get; set; }
public string Name { get; set; }
public string? Description { get; set; }
public bool IsActive { get; set; }
public DateTime CreateDate { get; set; }
}
}
+19
View File
@@ -0,0 +1,19 @@
namespace Fitness_core_BE.DTOs.Meal
{
public class MealDto
{
public Guid MealId { get; set; }
public string Name { get; set; }
public string? Description { get; set; }
public decimal? Calories { get; set; }
public decimal? Protein { get; set; }
public decimal? Carbohydrates { get; set; }
public decimal? Fats { get; set; }
public string? ServingSize { get; set; }
public object? MealItems { get; set; }
public string? PreparationNotes { get; set; }
public Guid MealPlanId { get; set; }
public bool IsActive { get; set; }
public DateTime CreateDate { get; set; }
}
}
+22
View File
@@ -0,0 +1,22 @@
namespace Fitness_core_BE.DTOs.Meal
{
public class MealPlanDetailDto
{
public Guid MealPlanId { get; set; }
public string Name { get; set; }
public string? Description { get; set; }
public bool IsTemplate { get; set; }
public Guid MealCategoryId { get; set; }
public string MealCategoryName { get; set; }
public Guid? ClientId { get; set; }
public string? ClientName { get; set; }
public bool IsActive { get; set; }
public DateTime CreateDate { get; set; }
public List<MealDto> MealItems { get; set; } = new List<MealDto>();
public List<CustomerMealDto> AssignedCustomers { get; set; } = new List<CustomerMealDto>();
public decimal? TotalCalories { get; set; }
public decimal? TotalProtein { get; set; }
public decimal? TotalCarbohydrates { get; set; }
public decimal? TotalFats { get; set; }
}
}
+17
View File
@@ -0,0 +1,17 @@
namespace Fitness_core_BE.DTOs.Meal
{
public class MealPlanDto
{
public Guid MealPlanId { get; set; }
public string Name { get; set; }
public string? Description { get; set; }
public bool IsTemplate { get; set; }
public Guid MealCategoryId { get; set; }
public string MealCategoryName { get; set; }
public Guid? ClientId { get; set; }
public string? ClientName { get; set; }
public bool IsActive { get; set; }
public DateTime CreateDate { get; set; }
public List<CustomerMealDto> AssignedCustomers { get; set; } = new List<CustomerMealDto>();
}
}