16 lines
450 B
Vala
16 lines
450 B
Vala
namespace Colegio {
|
|
namespace DB {
|
|
public class Ciudad : Object {
|
|
public int id_ciudad { get; set; default = 0; }
|
|
public string nombre_ciudad { get; set; default = ""; }
|
|
public Region region { get; set; default = new Region(); }
|
|
|
|
public Ciudad (int id_ciudad = 0, string nombre_ciudad = "", Region region = new Region()) {
|
|
this.id_ciudad = id_ciudad;
|
|
this.nombre_ciudad = nombre_ciudad;
|
|
this.region = region;
|
|
}
|
|
}
|
|
}
|
|
}
|