Fix Models with PLZ
This commit is contained in:
@ -1,24 +1,19 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WGneu.Models {
|
||||
[Table("wine_variety"), PrimaryKey("SortId")]
|
||||
public class WineVar {
|
||||
[Column("sortid")]
|
||||
public String SortId { get; set; }
|
||||
public string SortId { get; set; }
|
||||
|
||||
[Column("type")]
|
||||
public String Type { get; set; }
|
||||
public string Type { get; set; }
|
||||
|
||||
[Column("name")]
|
||||
public String Name { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
[Column("comment")]
|
||||
public String? Comment { get; set; }
|
||||
public string? Comment { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user