14 lines
345 B
C#
14 lines
345 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Elwig.Models {
|
|
[Table("wine_cultivation"), PrimaryKey("CultId")]
|
|
public class WineCult {
|
|
[Column("cultid")]
|
|
public string CultId { get; set; }
|
|
|
|
[Column("name")]
|
|
public string Name { get; set; }
|
|
}
|
|
}
|