Ajout de HelloFresh
This commit is contained in:
9
Models/HelloFresh/DTO/IngredientItemDto.cs
Normal file
9
Models/HelloFresh/DTO/IngredientItemDto.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace administration.Models.HelloFresh.DTO;
|
||||
|
||||
public class IngredientItemDto
|
||||
{
|
||||
public string Name { get; set; } = "";
|
||||
public string? Quantity { get; set; }
|
||||
public string? Image { get; set; }
|
||||
public bool Owned { get; set; }
|
||||
}
|
||||
16
Models/HelloFresh/DTO/SmartSearchResponse.cs
Normal file
16
Models/HelloFresh/DTO/SmartSearchResponse.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using administration.Models.HelloFresh.DTO;
|
||||
|
||||
namespace administration.Models.DTO
|
||||
{
|
||||
public class SmartSearchResponse
|
||||
{
|
||||
public List<IngredientItemDto> Items { get; set; } = new();
|
||||
public SmartSearchDebug Debug { get; set; }
|
||||
}
|
||||
|
||||
public class SmartSearchDebug
|
||||
{
|
||||
public object Sent { get; set; }
|
||||
public string Llm { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user