estadisticas
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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; }="";
|
||||
}
|
||||
@@ -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 "";
|
||||
}
|
||||
}}
|
||||
}
|
||||
Reference in New Issue
Block a user