estadisticas

This commit is contained in:
2025-01-23 05:17:07 -03:00
parent 0679fcef40
commit 6592afb3a7
14 changed files with 414 additions and 87 deletions
+1 -7
View File
@@ -16,14 +16,8 @@ public class Dataset
public string Label { get; set; } ="";
[JsonPropertyName("data")]
public List<double> Data { get; set; }= new();
/*
[JsonPropertyName("backgroundColor")]
public List<string> BackgroundColor { get; set; }
public List<string> Data { get; set; }= new();
[JsonPropertyName("borderColor")]
public List<string> BorderColor { get; set; }
*/
[JsonPropertyName("borderWidth")]
public int BorderWidth { get; set; }=1;
}
+6
View File
@@ -0,0 +1,6 @@
namespace Entidades.Informes;
public class InformesAlquiler {
public long Id { get; set; }
public string Ubicacion { get; set; }="";
public string Divisa { get; set; }="";
}
+17
View File
@@ -0,0 +1,17 @@
namespace Entidades.Informes;
public class InformesMeses {
public int Meses { get; set; }
public int Repes{ get; set; }
public string Semaforizacion {get {
switch(Repes.CompareTo(2)){
case 1:
return "🟢";
case 0:
return "🟡";
case -1:
return "🔴";
default:
return "";
}
}}
}