Rework models

This commit is contained in:
2023-03-14 11:23:03 +01:00
parent fe185ab516
commit 3614445cff
11 changed files with 60 additions and 60 deletions

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; }
}
}