Database updates
This commit is contained in:
@@ -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: 24.01.2022 08:57:25
|
||||
// Code is generated on: 01.04.2022 16:25:00
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
@@ -18,9 +18,9 @@ using System.Linq.Expressions;
|
||||
|
||||
namespace FoodsharingSiegen.Contracts.Entity
|
||||
{
|
||||
public partial class InteractionDate {
|
||||
public partial class Interaction {
|
||||
|
||||
public InteractionDate()
|
||||
public Interaction()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
@@ -31,8 +31,14 @@ namespace FoodsharingSiegen.Contracts.Entity
|
||||
|
||||
public virtual Guid UserId { get; set; }
|
||||
|
||||
public virtual InteractionType Type { get; set; }
|
||||
|
||||
public virtual Guid ProspectId { get; set; }
|
||||
|
||||
public virtual User User { get; set; }
|
||||
|
||||
public virtual Prospect Prospect { get; set; }
|
||||
|
||||
#region Extensibility Method Definitions
|
||||
|
||||
partial void OnCreated();
|
||||
15
FoodsharingSiegen.Contracts/Entity/Interaction.cs
Normal file
15
FoodsharingSiegen.Contracts/Entity/Interaction.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace FoodsharingSiegen.Contracts.Entity
|
||||
{
|
||||
|
||||
public partial class Interaction
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// This is auto-generated code.
|
||||
//------------------------------------------------------------------------------
|
||||
// This code was generated by Entity Developer tool using EF Core template.
|
||||
// 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.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace FoodsharingSiegen.Contracts.Entity
|
||||
{
|
||||
public partial class InteractionProcess {
|
||||
|
||||
public InteractionProcess()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
public virtual Guid Id { get; set; }
|
||||
|
||||
public virtual Guid EinAb1Id { get; set; }
|
||||
|
||||
public virtual Guid EinAb2Id { get; set; }
|
||||
|
||||
public virtual Guid EinAb3Id { get; set; }
|
||||
|
||||
public virtual Guid WelcomeId { get; set; }
|
||||
|
||||
public virtual Guid VerifyId { get; set; }
|
||||
|
||||
public virtual Guid PassId { get; set; }
|
||||
|
||||
public virtual InteractionDate EinAb1 { get; set; }
|
||||
|
||||
public virtual InteractionDate EinAb2 { get; set; }
|
||||
|
||||
public virtual InteractionDate EinAb3 { get; set; }
|
||||
|
||||
public virtual InteractionDate Welcome { get; set; }
|
||||
|
||||
public virtual InteractionDate Verify { get; set; }
|
||||
|
||||
public virtual InteractionDate Pass { get; set; }
|
||||
|
||||
#region Extensibility Method Definitions
|
||||
|
||||
partial void OnCreated();
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
}
|
||||
28
FoodsharingSiegen.Contracts/Entity/InteractionType.cs
Normal file
28
FoodsharingSiegen.Contracts/Entity/InteractionType.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// This is auto-generated code.
|
||||
//------------------------------------------------------------------------------
|
||||
// This code was generated by Entity Developer tool using EF Core template.
|
||||
// Code is generated on: 01.04.2022 16:25:00
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace FoodsharingSiegen.Contracts.Entity
|
||||
{
|
||||
public enum InteractionType : int
|
||||
{
|
||||
EinAb = 10,
|
||||
Welcome = 20,
|
||||
Verify = 30,
|
||||
Pass = 40
|
||||
}
|
||||
}
|
||||
@@ -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: 24.01.2022 08:57:25
|
||||
// Code is generated on: 01.04.2022 16:25:00
|
||||
//
|
||||
// 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 Prospect()
|
||||
{
|
||||
this.Interactions = new List<Interaction>();
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -33,7 +34,7 @@ namespace FoodsharingSiegen.Contracts.Entity
|
||||
|
||||
public virtual Guid ProgressId { get; set; }
|
||||
|
||||
public virtual InteractionProcess Progress { get; set; }
|
||||
public virtual IList<Interaction> Interactions { get; set; }
|
||||
|
||||
#region Extensibility Method Definitions
|
||||
|
||||
|
||||
@@ -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: 24.01.2022 08:57:25
|
||||
// Code is generated on: 01.04.2022 16:25:00
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
@@ -22,7 +22,7 @@ namespace FoodsharingSiegen.Contracts.Entity
|
||||
|
||||
public User()
|
||||
{
|
||||
this.InteractionDates = new List<InteractionDate>();
|
||||
this.Interactions = new List<Interaction>();
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace FoodsharingSiegen.Contracts.Entity
|
||||
|
||||
public virtual DateTime Created { get; set; }
|
||||
|
||||
public virtual IList<InteractionDate> InteractionDates { get; set; }
|
||||
public virtual IList<Interaction> Interactions { get; set; }
|
||||
|
||||
#region Extensibility Method Definitions
|
||||
|
||||
|
||||
@@ -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: 24.01.2022 08:57:25
|
||||
// Code is generated on: 01.04.2022 16:25:00
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
||||
Reference in New Issue
Block a user