Rename solution directory to Elwig
This commit is contained in:
16
Elwig/Models/WineAttr.cs
Normal file
16
Elwig/Models/WineAttr.cs
Normal file
@ -0,0 +1,16 @@
|
||||
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("kg_per_ha")]
|
||||
public int KgPerHa { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user