Rework models
This commit is contained in:
@ -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; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user