Files
elwig/Elwig/Models/WineAttr.cs

17 lines
419 B
C#

using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
namespace Elwig.Models {
[Table("wine_attribute"), PrimaryKey("AttrId")]
public class WineAttr {
[Column("attrid")]
public string AttrId { get; set; }
[Column("name")]
public string Name { get; set; }
[Column("max_kg_per_ha")]
public int MaxKgPerHa { get; set; }
}
}