Update model
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Elwig.Models {
|
||||
@ -9,5 +10,11 @@ namespace Elwig.Models {
|
||||
|
||||
[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; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user