public virtual DbSet Document { get; set; }
public virtual DbSet Report { get; set; }
}
[Table(„documents“)]
public class GDDocument
{
public int Id { get; set; }
public int report_Id { get; set; }
public string customerId { get; set; }
public int year { get; set; }
}
[Table(„reports“)]
public class GDReport
{
public int Id { get; set; }
public int year { get; set; }
public string customerId { get; set; }
public int reportType_Id { get; set; }
public string jsonData { get; set; }
public int mandant { get; set; }
}