Added new Models and Razor Template

This commit is contained in:
2023-03-06 02:02:01 +01:00
parent 28c4bbdff0
commit 6326917c95
20 changed files with 562 additions and 19 deletions

24
WGneu/Models/WineVar.cs Normal file
View File

@ -0,0 +1,24 @@
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; }
}
}