Fix Models with PLZ
This commit is contained in:
@ -1,10 +1,5 @@
|
||||
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("area_commitment"), PrimaryKey("Vnr", "KgNr", "GstNr")]
|
||||
@ -16,7 +11,7 @@ namespace WGneu.Models {
|
||||
public int KgNr { get; set; }
|
||||
|
||||
[Column("gstnr")]
|
||||
public String? GstNr { get; set; }
|
||||
public string? GstNr { get; set; }
|
||||
|
||||
[Column("rdnr")]
|
||||
public int RdNr { get; set; }
|
||||
@ -25,13 +20,13 @@ namespace WGneu.Models {
|
||||
public int Area { get; set; }
|
||||
|
||||
[Column("sortid")]
|
||||
public String SortId { get; set; }
|
||||
public string SortId { get; set; }
|
||||
|
||||
[Column("attrid")]
|
||||
public String? AttrId { get; set; }
|
||||
public string? AttrId { get; set; }
|
||||
|
||||
[Column("cultid")]
|
||||
public String CultId { get; set; }
|
||||
public string CultId { get; set; }
|
||||
|
||||
[ForeignKey("Vnr")]
|
||||
public virtual Contract Contract { get; set; }
|
||||
|
Reference in New Issue
Block a user