25 lines
597 B
C#
25 lines
597 B
C#
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; }
|
|
|
|
[Column("type")]
|
|
public String Type { get; set; }
|
|
|
|
[Column("name")]
|
|
public String Name { get; set; }
|
|
|
|
[Column("comment")]
|
|
public String? Comment { get; set; }
|
|
}
|
|
}
|