Added new Models and Razor Template
This commit is contained in:
21
WGneu/Models/WineAttr.cs
Normal file
21
WGneu/Models/WineAttr.cs
Normal file
@ -0,0 +1,21 @@
|
||||
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_attribute"), PrimaryKey("AttrId")]
|
||||
public class WineAttr {
|
||||
[Column("attrid")]
|
||||
public String AttrId { get; set; }
|
||||
|
||||
[Column("name")]
|
||||
public String Name { get; set; }
|
||||
|
||||
[Column("kg_per_ha")]
|
||||
public int KgPerHa { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user