first commit
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user