WIP Member List
This commit is contained in:
32
WGneu/Models/AT_Ort.cs
Normal file
32
WGneu/Models/AT_Ort.cs
Normal file
@ -0,0 +1,32 @@
|
||||
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_ort"), PrimaryKey("Okz")]
|
||||
public class AT_Ort
|
||||
{
|
||||
[Column("okz")]
|
||||
public int Okz { get; set; }
|
||||
|
||||
[Column("gkz")]
|
||||
public int Gkz { get; set; }
|
||||
|
||||
[Column("kgnr")]
|
||||
public int KgNr { get; set; }
|
||||
|
||||
[Column("name")]
|
||||
public String Name { get; set; }
|
||||
|
||||
[ForeignKey("Gkz")]
|
||||
public virtual AT_Gem Gem { get; set; }
|
||||
|
||||
[ForeignKey("KgNr")]
|
||||
public virtual AT_Kg Kg { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user