<?xml version="1.0" encoding="utf-8"?>
<efcore context-namespace="FoodsharingSiegen.Server.Data" namespace="FoodsharingSiegen.Contracts.Entity" p1:name="FsContext" p1:Guid="92949983-e236-4233-8714-eeb3a8372740" xmlns:p1="http://devart.com/schemas/EntityDeveloper/1.0">
  <class name="$EnumTypes">
    <EnumType Name="UserType" class="UserType" p1:Guid="b1301985-6d27-413f-9f9e-ebbdfc49bbc1">
      <Member Name="Unverified" Value="100" p1:Guid="b046051e-682a-45ca-8471-d9c55c09ed59" />
      <Member Name="User" Value="200" p1:Guid="b61df6d8-6f93-4605-bcb8-40e631176cd7" />
      <Member Name="Admin" Value="300" p1:Guid="833a2e4b-3cf7-476c-9a9a-3aeb69315f51" />
      <Member Name="nix" Value="50" p1:Guid="23192dfc-203b-472d-84cb-63a7708d8b67" />
    </EnumType>
    <EnumType Name="InteractionType" class="InteractionType" p1:Guid="93f9359f-3deb-4dbe-9a8b-b8949f833919">
      <Member Name="EinAb" Value="10" p1:Guid="f2ad51e2-93c8-4c70-8620-b3f9fc8fe484" />
      <Member Name="Welcome" Value="20" p1:Guid="1e45cfc5-c222-4c21-b09d-fbfdd68f6006" />
      <Member Name="IdCheck" Value="30" p1:Guid="b660c84b-a6ad-456d-b43f-eedca6891ff3" />
      <Member Name="PrintPass" Value="40" p1:Guid="c259e9b3-519f-42ba-99f7-80ea5b268a6c" />
      <Member Name="PdfPass" Value="50" p1:Guid="9cc2e8a4-4b74-4aaa-860c-7b7a8b643174" />
      <Member Name="Verify" Value="60" p1:Guid="21fa1cd1-2e3c-4a85-bd1b-5780549d0835" />
      <Member Name="Complete" Value="70" p1:Guid="4c471e6c-91e8-489e-8a3d-41bee5acf5e3" />
    </EnumType>
    <EnumType Name="UserGroup" class="UserGroup" p1:Guid="01b07848-c72f-4d42-bdf5-6581d9c5de33">
      <Member Name="ReadOnly" Value="100" p1:Guid="9ff50531-16aa-4d56-acfa-cb983730f31c" />
      <Member Name="WelcomeTeam" Value="200" p1:Guid="241d5c4f-cd27-424c-bdae-6afbe2cb9f50" />
      <Member Name="StoreManager" Value="300" p1:Guid="a937ae3b-e838-4358-a5f0-a3f9f90c995b" />
      <Member Name="Ambassador" Value="400" p1:Guid="9b51d8d2-0901-4bee-aa6a-c62a0508b7c0" />
    </EnumType>
  </class>
  <class name="User" entity-set="Users" p1:Guid="f956d4e9-7523-4b77-96be-10cbe0cc6929">
    <id name="Id" type="Guid" value-generated="OnAdd" p1:ValidateRequired="true" p1:Guid="ba4bfd64-dca0-4716-beff-1c571eb08665">
      <column name="" />
    </id>
    <property name="Mail" type="String" p1:ValidateRequired="true" p1:Guid="fbbc5bac-8c9b-48fa-a946-389cfd613965">
      <column name="" />
    </property>
    <property name="Type" type="FoodsharingSiegen.Contracts.Entity.UserType" p1:ValidateRequired="true" p1:Guid="3245ebed-40ba-4f74-9354-dab888f3f338">
      <column name="" />
    </property>
    <property name="Verified" type="Boolean" p1:ValidateRequired="true" p1:Guid="84f6d2c7-1cdc-499f-999c-18afb86830e8">
      <column name="" />
    </property>
    <property name="Name" type="String" p1:ValidateRequired="true" p1:Guid="dc58cb83-4dd2-46de-b220-f5dbad3c3821">
      <column name="" />
    </property>
    <property name="Created" type="DateTime" p1:ValidateRequired="true" p1:Guid="349bc0e7-f815-4593-9215-d2b91fdfacc4">
      <column name="" />
    </property>
    <property name="EncryptedPassword" type="String" p1:ValidateRequired="true" p1:Guid="0e030886-d23e-4293-aeea-86f0a5c53d4e">
      <column name="" />
    </property>
    <property name="Groups" type="String" p1:ValidateRequired="true" p1:Guid="bf41429c-3b00-4d34-9851-bf35a3649fd2">
      <column name="" />
    </property>
    <property name="ForceLogout" type="Boolean" p1:ValidateRequired="true" p1:Guid="bfc9e3b2-f7cb-4b9b-a3e9-68f84d16bcae">
      <column name="" />
    </property>
  </class>
  <class name="Prospect" entity-set="Prospects" p1:Guid="2f24182f-047a-4dba-a926-ddb2044ce3a3">
    <id name="Id" type="Guid" value-generated="OnAdd" p1:ValidateRequired="true" p1:Guid="be4ea414-f058-4b82-ab45-43750869702c">
      <column name="" />
    </id>
    <property name="FsId" type="Int32" p1:ValidateRequired="true" p1:Guid="001ad395-f071-4c2d-bb73-420dfbcb4632">
      <column name="" />
    </property>
    <property name="Name" type="String" p1:ValidateRequired="true" p1:Guid="25eda2da-aff0-45a6-bb11-f19420f21b62">
      <column name="" />
    </property>
    <property name="Created" type="DateTime" p1:ValidateRequired="true" p1:Guid="12d616f2-eee0-4dbc-9a24-fecb7e65e9ba">
      <column name="" />
    </property>
    <property name="Memo" type="String" p1:nullable="True" p1:ValidateRequired="false" p1:Guid="e00e58d3-7b35-4f5e-84fe-09d228801093">
      <column name="" />
    </property>
  </class>
  <class name="Interaction" entity-set="Interactions" p1:Guid="c430a343-1225-40dd-9bc3-8f0fdd22b29a">
    <id name="Id" type="Guid" value-generated="OnAdd" p1:ValidateRequired="true" p1:Guid="cca7506d-fc68-4075-bb8c-1b502aa79807">
      <column name="" />
    </id>
    <property name="UserId" type="Guid" p1:ValidateRequired="true" p1:Guid="fff013a1-3d14-4f2b-aee3-f5c0e5ad4d8e">
      <column name="" not-null="False" />
    </property>
    <property name="Date" type="DateTime" p1:ValidateRequired="true" p1:Guid="6f0890a5-0db1-40e6-931c-92c885506d9b">
      <column name="" />
    </property>
    <property name="Info" type="String" p1:nullable="True" p1:ValidateRequired="false" p1:Guid="e280a355-8d22-494b-bc72-9f5fb4c85f3a">
      <column name="" />
    </property>
    <property name="Type" type="FoodsharingSiegen.Contracts.Entity.InteractionType" p1:ValidateRequired="true" p1:Guid="caf3dc53-f6cb-4554-98ac-a700657258e9">
      <column name="" />
    </property>
    <property name="ProspectId" type="Guid" p1:ValidateRequired="true" p1:Guid="55b4bace-d6bd-4e19-8a15-8c34157251b6">
      <column name="" not-null="False" />
    </property>
    <property name="Alert" type="Boolean" p1:ValidateRequired="true" p1:Guid="77b8afb4-e570-40e7-a023-74137c7d5407">
      <column name="" />
    </property>
    <property name="NotNeeded" type="Boolean" p1:ValidateRequired="true" p1:Guid="7856bc01-520d-4caf-aefc-7bd4f1c78bd7">
      <column name="" />
    </property>
    <property name="Created" type="DateTime" p1:ValidateRequired="true" p1:Guid="735a509b-89a5-44b6-a80d-dc1bcd369ee2">
      <column name="" />
    </property>
  </class>
  <associations>
    <association name="User_InteractionDate" cardinality="OneToMany" p1:Guid="865bd42d-b0ba-426f-a351-bcbdd38533f1">
      <end1 multiplicity="One" name="User" class="Interaction" relation-class="User" constrained="True" lazy="False" p1:Guid="c0594051-ffb9-41a9-88a9-bed70e1693cd">
        <property name="Id" />
      </end1>
      <end2 multiplicity="Many" name="Interactions" class="User" relation-class="Interaction" lazy="False" p1:Guid="d437fc11-f09b-4d31-8c0e-a6c38d48d4fb">
        <property name="UserId" />
      </end2>
    </association>
    <association name="Prospect_Interaction" cardinality="OneToMany" p1:Guid="8653aabe-ac0e-4c77-a151-ab7d0c71060b">
      <end1 multiplicity="One" name="Prospect" class="Interaction" relation-class="Prospect" constrained="True" lazy="False" p1:Guid="603ec2d2-a38a-4f33-b253-cb150c2985e9">
        <property name="Id" />
      </end1>
      <end2 multiplicity="Many" name="Interactions" class="Prospect" relation-class="Interaction" lazy="False" p1:Guid="a6482ef1-2e42-43f6-a934-c3f507888b12">
        <property name="ProspectId" />
      </end2>
    </association>
  </associations>
</efcore>