finish the queries

This commit is contained in:
2019-07-05 09:45:10 -04:00
parent 263c810544
commit 66b8fe1b6a
8 changed files with 255 additions and 9 deletions

13
src/db/q3.vala Normal file
View File

@@ -0,0 +1,13 @@
namespace Colegio {
namespace DB {
public class Q3 : Object {
public string nombre { get; set; default = ""; }
public int cantidad { get; set; default = 0; }
public Q3 (string nombre = "", int cantidad = 0) {
this.nombre = nombre;
this.cantidad = cantidad;
}
}
}
}

13
src/db/q4.vala Normal file
View File

@@ -0,0 +1,13 @@
namespace Colegio {
namespace DB {
public class Q4 : Object {
public string curso { get; set; default = ""; }
public int cantidad { get; set; default = 0; }
public Q4 (string curso = "", int cantidad = 0) {
this.curso = curso;
this.cantidad = cantidad;
}
}
}
}

13
src/db/q5.vala Normal file
View File

@@ -0,0 +1,13 @@
namespace Colegio {
namespace DB {
public class Q5 : Object {
public string nombre { get; set; default = ""; }
public double promedio { get; set; default = 0.0; }
public Q5 (string nombre = "", double promedio = 0.0) {
this.nombre = nombre;
this.promedio = promedio;
}
}
}
}

13
src/db/q6.vala Normal file
View File

@@ -0,0 +1,13 @@
namespace Colegio {
namespace DB {
public class Q6 : Object {
public string nombre { get; set; default = ""; }
public float porcentaje { get; set; default = 0; }
public Q6 (string nombre = "", float porcentaje = 0) {
this.nombre = nombre;
this.porcentaje = porcentaje;
}
}
}
}