Rework models

This commit is contained in:
lorenz.stechauner committed 2023-03-14 11:23:03 +01:00
1 parent fe185ab516
commit 3614445cff
11 files changed
+60 -60

No files matched your search

+5 -5
View File
@@ -5,18 +5,18 @@ namespace WGneu.Models {
[Table("country"), PrimaryKey("Alpha2")]
public class Country {
[Column("alpha2")]
public string Alpha2 { get; set; }
public string Alpha2 { get; private set; }
[Column("alpha3")]
public string Alpha3 { get; set; }
public string Alpha3 { get; private set; }
[Column("num")]
public int Num { get; set; }
public int Num { get; private set; }
[Column("name")]
public string Name { get; set; }
public string Name { get; private set; }
[Column("is_visible")]
public bool IsVisible { get; set; }
public bool IsVisible { get; private set; }
}
}