finish the queries
This commit is contained in:
13
src/db/q3.vala
Normal file
13
src/db/q3.vala
Normal 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
13
src/db/q4.vala
Normal 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
13
src/db/q5.vala
Normal 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
13
src/db/q6.vala
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user