WIP Member List

This commit is contained in:
2023-02-20 17:05:44 +01:00
parent a0ebecfe04
commit a5d56a7c49
22 changed files with 470 additions and 23 deletions

26
WGneu/Models/AT_Kg.cs Normal file
View File

@ -0,0 +1,26 @@
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("AT_kg"), PrimaryKey("KgNr")]
public class AT_Kg
{
[Column("kgnr")]
public int KgNr { get; set; }
[Column("gkz")]
public int Gkz { get; set; }
[Column("name")]
public String Name { get; set; }
[ForeignKey("Gkz")]
public virtual AT_Gem Gem { get; set; }
}
}