19 lines
461 B
C#
19 lines
461 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_cultivation"), PrimaryKey("CultId")]
|
|
public class WineCult {
|
|
[Column("cultid")]
|
|
public String CultId { get; set; }
|
|
|
|
[Column("name")]
|
|
public String Name { get; set; }
|
|
}
|
|
}
|