Files
elwig/Elwig/Models/AT_Gem.cs
2023-05-13 22:51:20 +02:00

21 lines
557 B
C#

using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Elwig.Models {
[Table("AT_gem"), PrimaryKey("Gkz")]
public class AT_Gem {
[Column("gkz")]
public int Gkz { get; private set; }
[Column("name")]
public string Name { get; private set; }
[InverseProperty("Gem")]
public virtual ISet<AT_Kg> Kgs { get; private set; }
[InverseProperty("AtGem")]
public virtual WbGem? WbGem { get; private set; }
}
}