Added id to categorie to fix bug

This commit is contained in:
Thomas Fransolet 2024-04-10 11:34:24 +02:00
parent 0ccfda46a1
commit b87256e29d

View File

@ -23,7 +23,8 @@ namespace Manager.Interfaces.DTO
public List<TranslationDTO> title { get; set; }
public List<TranslationDTO> description { get; set; }
public List<ContentGeoPoint> contents { get; set; }
public CategorieDTO categorie { get; set; }
public CategorieDTO categorie { get; set; } // TO DELETE IN FUTURE
public int? categorieId { get; set; }
public string latitude { get; set; }
public string longitude { get; set; }
@ -36,6 +37,7 @@ namespace Manager.Interfaces.DTO
public class CategorieDTO
{
public int? id { get; set; }
public List<TranslationDTO> label { get; set; }
public string icon { get; set; } // icon material
public string iconResourceId { get; set; } // icon point geo