Database updates

This commit is contained in:
Andre Beging
2022-01-24 10:15:19 +01:00
parent 5adadf8646
commit 3cfac1a12d
13 changed files with 2149 additions and 55 deletions

View File

@@ -2,7 +2,7 @@
// This is auto-generated code.
//------------------------------------------------------------------------------
// This code was generated by Entity Developer tool using EF Core template.
// Code is generated on: 11.01.2022 07:46:42
// Code is generated on: 24.01.2022 08:57:25
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -29,6 +29,10 @@ namespace FoodsharingSiegen.Contracts.Entity
public virtual DateTime Date { get; set; }
public virtual Guid UserId { get; set; }
public virtual User User { get; set; }
#region Extensibility Method Definitions
partial void OnCreated();

View File

@@ -2,7 +2,7 @@
// This is auto-generated code.
//------------------------------------------------------------------------------
// This code was generated by Entity Developer tool using EF Core template.
// Code is generated on: 11.01.2022 07:46:42
// Code is generated on: 24.01.2022 08:57:25
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.

View File

@@ -2,7 +2,7 @@
// This is auto-generated code.
//------------------------------------------------------------------------------
// This code was generated by Entity Developer tool using EF Core template.
// Code is generated on: 11.01.2022 07:46:42
// Code is generated on: 24.01.2022 08:57:25
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.

View File

@@ -2,7 +2,7 @@
// This is auto-generated code.
//------------------------------------------------------------------------------
// This code was generated by Entity Developer tool using EF Core template.
// Code is generated on: 11.01.2022 07:46:42
// Code is generated on: 24.01.2022 08:57:25
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -22,6 +22,7 @@ namespace FoodsharingSiegen.Contracts.Entity
public User()
{
this.InteractionDates = new List<InteractionDate>();
OnCreated();
}
@@ -31,7 +32,13 @@ namespace FoodsharingSiegen.Contracts.Entity
public virtual UserType Type { get; set; }
public virtual string Verified { get; set; }
public virtual bool Verified { get; set; }
public virtual string Name { get; set; }
public virtual DateTime Created { get; set; }
public virtual IList<InteractionDate> InteractionDates { get; set; }
#region Extensibility Method Definitions

View File

@@ -2,7 +2,7 @@
// This is auto-generated code.
//------------------------------------------------------------------------------
// This code was generated by Entity Developer tool using EF Core template.
// Code is generated on: 11.01.2022 07:46:42
// Code is generated on: 24.01.2022 08:57:25
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.