WIP Member List
This commit is contained in:
26
WGneu/Models/AT_Kg.cs
Normal file
26
WGneu/Models/AT_Kg.cs
Normal 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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user