22 lines
531 B
C#
22 lines
531 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_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; }
|
|
}
|
|
}
|