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,15 +5,15 @@ namespace WGneu.Models {
[Table("wine_variety"), PrimaryKey("SortId")]
public class WineVar {
[Column("sortid")]
public string SortId { get; set; }
public string SortId { get; private set; }
[Column("type")]
public string Type { get; set; }
public string Type { get; private set; }
[Column("name")]
public string Name { get; set; }
public string Name { get; private set; }
[Column("comment")]
public string? Comment { get; set; }
public string? Comment { get; private set; }
}
}