Database Update

This commit is contained in:
Andre Beging
2022-04-02 12:53:49 +02:00
parent d3bc96b745
commit eb4bb402ba
15 changed files with 598 additions and 91 deletions

View File

@@ -306,6 +306,25 @@
<Width>144 px</Width> <Width>144 px</Width>
<Height>18 px</Height> <Height>18 px</Height>
</Size> </Size>
<Oid xsi:type="SchemaModelOID">
<Path>b9fd95ad-d147-41df-94c7-3eb0c8eadb90</Path>
<TypeName>EntityDeveloper.EnumTypeMember</TypeName>
</Oid>
</Model>
<Model xsi:type="EnumTypeMemberVwModel">
<CustomProperties>
<OID>18</OID>
<Parent>12</Parent>
</CustomProperties>
<Children />
<Location>
<X>0.5 px</X>
<Y>90.5 px</Y>
</Location>
<Size>
<Width>144 px</Width>
<Height>18 px</Height>
</Size>
<Oid xsi:type="SchemaModelOID"> <Oid xsi:type="SchemaModelOID">
<Path>b61df6d8-6f93-4605-bcb8-40e631176cd7</Path> <Path>b61df6d8-6f93-4605-bcb8-40e631176cd7</Path>
<TypeName>EntityDeveloper.EnumTypeMember</TypeName> <TypeName>EntityDeveloper.EnumTypeMember</TypeName>
@@ -314,11 +333,11 @@
</Children> </Children>
<Size> <Size>
<Width>145 px</Width> <Width>145 px</Width>
<Height>90 px</Height> <Height>108 px</Height>
</Size> </Size>
<MaxSize> <MaxSize>
<Width>0 px</Width> <Width>0 px</Width>
<Height>91 px</Height> <Height>109 px</Height>
</MaxSize> </MaxSize>
</Model> </Model>
</Children> </Children>
@@ -328,15 +347,15 @@
</Location> </Location>
<Size> <Size>
<Width>150 px</Width> <Width>150 px</Width>
<Height>139 px</Height> <Height>157 px</Height>
</Size> </Size>
<MinSize> <MinSize>
<Width>100 px</Width> <Width>100 px</Width>
<Height>139 px</Height> <Height>157 px</Height>
</MinSize> </MinSize>
<MaxSize> <MaxSize>
<Width>800 px</Width> <Width>800 px</Width>
<Height>139 px</Height> <Height>157 px</Height>
</MaxSize> </MaxSize>
<Ports /> <Ports />
<Oid xsi:type="SchemaModelOID"> <Oid xsi:type="SchemaModelOID">
@@ -347,25 +366,25 @@
</Model> </Model>
<Model xsi:type="ClassVwModel"> <Model xsi:type="ClassVwModel">
<CustomProperties> <CustomProperties>
<OID>18</OID> <OID>19</OID>
<Parent>0</Parent> <Parent>0</Parent>
</CustomProperties> </CustomProperties>
<Children> <Children>
<Model xsi:type="PropertiesVwModel"> <Model xsi:type="PropertiesVwModel">
<CustomProperties> <CustomProperties>
<OID>19</OID> <OID>20</OID>
<Parent>18</Parent> <Parent>19</Parent>
</CustomProperties> </CustomProperties>
<Children> <Children>
<Model xsi:type="PropertyVwModel"> <Model xsi:type="PropertyVwModel">
<CustomProperties> <CustomProperties>
<OID>20</OID> <OID>21</OID>
<Parent>19</Parent> <Parent>20</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
<X>0.5 px</X> <X>0.5 px</X>
<Y>0.5 px</Y> <Y>0.500000000000028 px</Y>
</Location> </Location>
<Size> <Size>
<Width>144 px</Width> <Width>144 px</Width>
@@ -378,8 +397,8 @@
</Model> </Model>
<Model xsi:type="PropertyVwModel"> <Model xsi:type="PropertyVwModel">
<CustomProperties> <CustomProperties>
<OID>21</OID> <OID>22</OID>
<Parent>19</Parent> <Parent>20</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -397,8 +416,8 @@
</Model> </Model>
<Model xsi:type="PropertyVwModel"> <Model xsi:type="PropertyVwModel">
<CustomProperties> <CustomProperties>
<OID>22</OID> <OID>23</OID>
<Parent>19</Parent> <Parent>20</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -416,8 +435,8 @@
</Model> </Model>
<Model xsi:type="PropertyVwModel"> <Model xsi:type="PropertyVwModel">
<CustomProperties> <CustomProperties>
<OID>23</OID> <OID>24</OID>
<Parent>19</Parent> <Parent>20</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -433,28 +452,74 @@
<TypeName>EntityDeveloper.EntityFrameworkCore.EntityProperty</TypeName> <TypeName>EntityDeveloper.EntityFrameworkCore.EntityProperty</TypeName>
</Oid> </Oid>
</Model> </Model>
<Model xsi:type="PropertyVwModel">
<CustomProperties>
<OID>25</OID>
<Parent>20</Parent>
</CustomProperties>
<Children />
<Location>
<X>0.5 px</X>
<Y>72.5 px</Y>
</Location>
<Size>
<Width>144 px</Width>
<Height>18 px</Height>
</Size>
<Oid xsi:type="SchemaModelOID">
<Path>12d616f2-eee0-4dbc-9a24-fecb7e65e9ba</Path>
<TypeName>EntityDeveloper.EntityFrameworkCore.EntityProperty</TypeName>
</Oid>
</Model>
<Model xsi:type="PropertyVwModel">
<CustomProperties>
<OID>26</OID>
<Parent>20</Parent>
</CustomProperties>
<Children />
<Location>
<X>0.5 px</X>
<Y>90.5 px</Y>
</Location>
<Size>
<Width>144 px</Width>
<Height>18 px</Height>
</Size>
<Oid xsi:type="SchemaModelOID">
<Path>e00e58d3-7b35-4f5e-84fe-09d228801093</Path>
<TypeName>EntityDeveloper.EntityFrameworkCore.EntityProperty</TypeName>
</Oid>
</Model>
</Children> </Children>
<Location>
<X>0 px</X>
<Y>2.8421709430404E-14 px</Y>
</Location>
<Size> <Size>
<Width>145 px</Width> <Width>145 px</Width>
<Height>73 px</Height> <Height>109 px</Height>
</Size> </Size>
<MaxSize> <MaxSize>
<Width>0 px</Width> <Width>0 px</Width>
<Height>73 px</Height> <Height>109 px</Height>
</MaxSize> </MaxSize>
</Model> </Model>
<Model xsi:type="RelationPropertiesVwModel"> <Model xsi:type="RelationPropertiesVwModel">
<CustomProperties> <CustomProperties>
<OID>24</OID> <OID>27</OID>
<Parent>18</Parent> <Parent>19</Parent>
</CustomProperties> </CustomProperties>
<Children> <Children>
<Model xsi:type="RelationPropertyVwModel"> <Model xsi:type="RelationPropertyVwModel">
<CustomProperties> <CustomProperties>
<OID>25</OID> <OID>28</OID>
<Parent>24</Parent> <Parent>27</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location>
<X>0 px</X>
<Y>2.8421709430404E-14 px</Y>
</Location>
<Size> <Size>
<Width>144 px</Width> <Width>144 px</Width>
<Height>18 px</Height> <Height>18 px</Height>
@@ -467,7 +532,7 @@
</Children> </Children>
<Location> <Location>
<X>0 px</X> <X>0 px</X>
<Y>72 px</Y> <Y>108 px</Y>
</Location> </Location>
<Size> <Size>
<Width>145 px</Width> <Width>145 px</Width>
@@ -486,15 +551,15 @@
</Location> </Location>
<Size> <Size>
<Width>150 px</Width> <Width>150 px</Width>
<Height>158 px</Height> <Height>194 px</Height>
</Size> </Size>
<MinSize> <MinSize>
<Width>100 px</Width> <Width>100 px</Width>
<Height>158 px</Height> <Height>194 px</Height>
</MinSize> </MinSize>
<MaxSize> <MaxSize>
<Width>800 px</Width> <Width>800 px</Width>
<Height>158 px</Height> <Height>194 px</Height>
</MaxSize> </MaxSize>
<Ports /> <Ports />
<Oid xsi:type="SchemaModelOID"> <Oid xsi:type="SchemaModelOID">
@@ -505,20 +570,20 @@
</Model> </Model>
<Model xsi:type="ClassVwModel"> <Model xsi:type="ClassVwModel">
<CustomProperties> <CustomProperties>
<OID>26</OID> <OID>29</OID>
<Parent>0</Parent> <Parent>0</Parent>
</CustomProperties> </CustomProperties>
<Children> <Children>
<Model xsi:type="PropertiesVwModel"> <Model xsi:type="PropertiesVwModel">
<CustomProperties> <CustomProperties>
<OID>27</OID> <OID>30</OID>
<Parent>26</Parent> <Parent>29</Parent>
</CustomProperties> </CustomProperties>
<Children> <Children>
<Model xsi:type="PropertyVwModel"> <Model xsi:type="PropertyVwModel">
<CustomProperties> <CustomProperties>
<OID>28</OID> <OID>31</OID>
<Parent>27</Parent> <Parent>30</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -536,8 +601,8 @@
</Model> </Model>
<Model xsi:type="PropertyVwModel"> <Model xsi:type="PropertyVwModel">
<CustomProperties> <CustomProperties>
<OID>29</OID> <OID>32</OID>
<Parent>27</Parent> <Parent>30</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -555,8 +620,8 @@
</Model> </Model>
<Model xsi:type="PropertyVwModel"> <Model xsi:type="PropertyVwModel">
<CustomProperties> <CustomProperties>
<OID>30</OID> <OID>33</OID>
<Parent>27</Parent> <Parent>30</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -574,8 +639,8 @@
</Model> </Model>
<Model xsi:type="PropertyVwModel"> <Model xsi:type="PropertyVwModel">
<CustomProperties> <CustomProperties>
<OID>31</OID> <OID>34</OID>
<Parent>27</Parent> <Parent>30</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -593,8 +658,8 @@
</Model> </Model>
<Model xsi:type="PropertyVwModel"> <Model xsi:type="PropertyVwModel">
<CustomProperties> <CustomProperties>
<OID>32</OID> <OID>35</OID>
<Parent>27</Parent> <Parent>30</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -612,8 +677,8 @@
</Model> </Model>
<Model xsi:type="PropertyVwModel"> <Model xsi:type="PropertyVwModel">
<CustomProperties> <CustomProperties>
<OID>33</OID> <OID>36</OID>
<Parent>27</Parent> <Parent>30</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -641,14 +706,14 @@
</Model> </Model>
<Model xsi:type="RelationPropertiesVwModel"> <Model xsi:type="RelationPropertiesVwModel">
<CustomProperties> <CustomProperties>
<OID>34</OID> <OID>37</OID>
<Parent>26</Parent> <Parent>29</Parent>
</CustomProperties> </CustomProperties>
<Children> <Children>
<Model xsi:type="RelationPropertyVwModel"> <Model xsi:type="RelationPropertyVwModel">
<CustomProperties> <CustomProperties>
<OID>35</OID> <OID>38</OID>
<Parent>34</Parent> <Parent>37</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Size> <Size>
@@ -662,8 +727,8 @@
</Model> </Model>
<Model xsi:type="RelationPropertyVwModel"> <Model xsi:type="RelationPropertyVwModel">
<CustomProperties> <CustomProperties>
<OID>36</OID> <OID>39</OID>
<Parent>34</Parent> <Parent>37</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -720,11 +785,11 @@
</Model> </Model>
<Model xsi:type="AssociationVwModel"> <Model xsi:type="AssociationVwModel">
<CustomProperties> <CustomProperties>
<OID>37</OID> <OID>40</OID>
<OutModel>1</OutModel> <OutModel>1</OutModel>
<InModel>26</InModel> <InModel>29</InModel>
<OutPort>38</OutPort> <OutPort>41</OutPort>
<InPort>39</InPort> <InPort>42</InPort>
<Parent>0</Parent> <Parent>0</Parent>
</CustomProperties> </CustomProperties>
<PortAnchors> <PortAnchors>
@@ -736,7 +801,7 @@
<Anchors>Left Right</Anchors> <Anchors>Left Right</Anchors>
<Align>Bottom</Align> <Align>Bottom</Align>
<CustomProperties> <CustomProperties>
<OID>38</OID> <OID>41</OID>
<PortType>FloatAnchor</PortType> <PortType>FloatAnchor</PortType>
</CustomProperties> </CustomProperties>
</Port> </Port>
@@ -748,7 +813,7 @@
<Anchors>Left Right</Anchors> <Anchors>Left Right</Anchors>
<Align>Top</Align> <Align>Top</Align>
<CustomProperties> <CustomProperties>
<OID>39</OID> <OID>42</OID>
<PortType>FloatAnchor</PortType> <PortType>FloatAnchor</PortType>
</CustomProperties> </CustomProperties>
</Port> </Port>
@@ -761,20 +826,20 @@
</Model> </Model>
<Model xsi:type="EnumTypeVwModel"> <Model xsi:type="EnumTypeVwModel">
<CustomProperties> <CustomProperties>
<OID>40</OID> <OID>43</OID>
<Parent>0</Parent> <Parent>0</Parent>
</CustomProperties> </CustomProperties>
<Children> <Children>
<Model xsi:type="PropertiesVwModel"> <Model xsi:type="PropertiesVwModel">
<CustomProperties> <CustomProperties>
<OID>41</OID> <OID>44</OID>
<Parent>40</Parent> <Parent>43</Parent>
</CustomProperties> </CustomProperties>
<Children> <Children>
<Model xsi:type="EnumTypeMemberVwModel"> <Model xsi:type="EnumTypeMemberVwModel">
<CustomProperties> <CustomProperties>
<OID>42</OID> <OID>45</OID>
<Parent>41</Parent> <Parent>44</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -792,8 +857,8 @@
</Model> </Model>
<Model xsi:type="EnumTypeMemberVwModel"> <Model xsi:type="EnumTypeMemberVwModel">
<CustomProperties> <CustomProperties>
<OID>43</OID> <OID>46</OID>
<Parent>41</Parent> <Parent>44</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -811,8 +876,8 @@
</Model> </Model>
<Model xsi:type="EnumTypeMemberVwModel"> <Model xsi:type="EnumTypeMemberVwModel">
<CustomProperties> <CustomProperties>
<OID>44</OID> <OID>47</OID>
<Parent>41</Parent> <Parent>44</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -830,8 +895,8 @@
</Model> </Model>
<Model xsi:type="EnumTypeMemberVwModel"> <Model xsi:type="EnumTypeMemberVwModel">
<CustomProperties> <CustomProperties>
<OID>45</OID> <OID>48</OID>
<Parent>41</Parent> <Parent>44</Parent>
</CustomProperties> </CustomProperties>
<Children /> <Children />
<Location> <Location>
@@ -847,14 +912,52 @@
<TypeName>EntityDeveloper.EnumTypeMember</TypeName> <TypeName>EntityDeveloper.EnumTypeMember</TypeName>
</Oid> </Oid>
</Model> </Model>
<Model xsi:type="EnumTypeMemberVwModel">
<CustomProperties>
<OID>49</OID>
<Parent>44</Parent>
</CustomProperties>
<Children />
<Location>
<X>0.5 px</X>
<Y>72.5 px</Y>
</Location>
<Size>
<Width>144 px</Width>
<Height>18 px</Height>
</Size>
<Oid xsi:type="SchemaModelOID">
<Path>9cc2e8a4-4b74-4aaa-860c-7b7a8b643174</Path>
<TypeName>EntityDeveloper.EnumTypeMember</TypeName>
</Oid>
</Model>
<Model xsi:type="EnumTypeMemberVwModel">
<CustomProperties>
<OID>50</OID>
<Parent>44</Parent>
</CustomProperties>
<Children />
<Location>
<X>0.5 px</X>
<Y>90.5 px</Y>
</Location>
<Size>
<Width>144 px</Width>
<Height>18 px</Height>
</Size>
<Oid xsi:type="SchemaModelOID">
<Path>21fa1cd1-2e3c-4a85-bd1b-5780549d0835</Path>
<TypeName>EntityDeveloper.EnumTypeMember</TypeName>
</Oid>
</Model>
</Children> </Children>
<Size> <Size>
<Width>145 px</Width> <Width>145 px</Width>
<Height>72 px</Height> <Height>108 px</Height>
</Size> </Size>
<MaxSize> <MaxSize>
<Width>0 px</Width> <Width>0 px</Width>
<Height>73 px</Height> <Height>109 px</Height>
</MaxSize> </MaxSize>
</Model> </Model>
</Children> </Children>
@@ -864,15 +967,15 @@
</Location> </Location>
<Size> <Size>
<Width>150 px</Width> <Width>150 px</Width>
<Height>121 px</Height> <Height>157 px</Height>
</Size> </Size>
<MinSize> <MinSize>
<Width>100 px</Width> <Width>100 px</Width>
<Height>121 px</Height> <Height>157 px</Height>
</MinSize> </MinSize>
<MaxSize> <MaxSize>
<Width>800 px</Width> <Width>800 px</Width>
<Height>121 px</Height> <Height>157 px</Height>
</MaxSize> </MaxSize>
<Ports /> <Ports />
<Oid xsi:type="SchemaModelOID"> <Oid xsi:type="SchemaModelOID">
@@ -883,23 +986,23 @@
</Model> </Model>
<Model xsi:type="AssociationVwModel"> <Model xsi:type="AssociationVwModel">
<CustomProperties> <CustomProperties>
<OID>46</OID> <OID>51</OID>
<OutModel>18</OutModel> <OutModel>19</OutModel>
<InModel>26</InModel> <InModel>29</InModel>
<OutPort>47</OutPort> <OutPort>52</OutPort>
<InPort>48</InPort> <InPort>53</InPort>
<Parent>0</Parent> <Parent>0</Parent>
</CustomProperties> </CustomProperties>
<PortAnchors> <PortAnchors>
<Port> <Port>
<Location> <Location>
<X>0 px</X> <X>0 px</X>
<Y>79 px</Y> <Y>97 px</Y>
</Location> </Location>
<Anchors>Top Bottom</Anchors> <Anchors>Top Bottom</Anchors>
<Align>Right</Align> <Align>Right</Align>
<CustomProperties> <CustomProperties>
<OID>47</OID> <OID>52</OID>
<PortType>FloatAnchor</PortType> <PortType>FloatAnchor</PortType>
</CustomProperties> </CustomProperties>
</Port> </Port>
@@ -911,7 +1014,7 @@
<Anchors>Top Bottom</Anchors> <Anchors>Top Bottom</Anchors>
<Align>Left</Align> <Align>Left</Align>
<CustomProperties> <CustomProperties>
<OID>48</OID> <OID>53</OID>
<PortType>FloatAnchor</PortType> <PortType>FloatAnchor</PortType>
</CustomProperties> </CustomProperties>
</Port> </Port>
@@ -919,7 +1022,7 @@
<BendPoints> <BendPoints>
<PointD> <PointD>
<X>34 px</X> <X>34 px</X>
<Y>335 px</Y> <Y>353 px</Y>
</PointD> </PointD>
<PointD> <PointD>
<X>34 px</X> <X>34 px</X>

View File

@@ -6,13 +6,16 @@
<Member Name="ReadOnly" Value="10" p1:Guid="fbcf22ae-d06c-4ef4-9375-7da0116c1756" /> <Member Name="ReadOnly" Value="10" p1:Guid="fbcf22ae-d06c-4ef4-9375-7da0116c1756" />
<Member Name="WelcomeTeam" Value="20" p1:Guid="5121abf9-8963-4853-92fc-38b4be002089" /> <Member Name="WelcomeTeam" Value="20" p1:Guid="5121abf9-8963-4853-92fc-38b4be002089" />
<Member Name="StoreManager" Value="30" p1:Guid="9d01dc6b-a794-47f8-ac79-0ff53861181c" /> <Member Name="StoreManager" Value="30" p1:Guid="9d01dc6b-a794-47f8-ac79-0ff53861181c" />
<Member Name="Admin" Value="40" p1:Guid="b61df6d8-6f93-4605-bcb8-40e631176cd7" /> <Member Name="Ambassador" Value="40" p1:Guid="b9fd95ad-d147-41df-94c7-3eb0c8eadb90" />
<Member Name="Admin" Value="50" p1:Guid="b61df6d8-6f93-4605-bcb8-40e631176cd7" />
</EnumType> </EnumType>
<EnumType Name="InteractionType" class="InteractionType" p1:Guid="93f9359f-3deb-4dbe-9a8b-b8949f833919"> <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="EinAb" Value="10" p1:Guid="f2ad51e2-93c8-4c70-8620-b3f9fc8fe484" />
<Member Name="Welcome" Value="20" p1:Guid="1e45cfc5-c222-4c21-b09d-fbfdd68f6006" /> <Member Name="Welcome" Value="20" p1:Guid="1e45cfc5-c222-4c21-b09d-fbfdd68f6006" />
<Member Name="Verify" Value="30" p1:Guid="b660c84b-a6ad-456d-b43f-eedca6891ff3" /> <Member Name="IdCheck" Value="30" p1:Guid="b660c84b-a6ad-456d-b43f-eedca6891ff3" />
<Member Name="Pass" Value="40" p1:Guid="c259e9b3-519f-42ba-99f7-80ea5b268a6c" /> <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" />
</EnumType> </EnumType>
</class> </class>
<class name="User" entity-set="Users" p1:Guid="f956d4e9-7523-4b77-96be-10cbe0cc6929"> <class name="User" entity-set="Users" p1:Guid="f956d4e9-7523-4b77-96be-10cbe0cc6929">
@@ -48,6 +51,12 @@
<property name="ProgressId" type="Guid" p1:ValidateRequired="true" p1:Guid="db78282f-9001-4e54-a175-fe4391e714fc"> <property name="ProgressId" type="Guid" p1:ValidateRequired="true" p1:Guid="db78282f-9001-4e54-a175-fe4391e714fc">
<column name="" /> <column name="" />
</property> </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:ValidateRequired="true" p1:Guid="e00e58d3-7b35-4f5e-84fe-09d228801093">
<column name="" />
</property>
</class> </class>
<class name="Interaction" entity-set="Interactions" p1:Guid="c430a343-1225-40dd-9bc3-8f0fdd22b29a"> <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"> <id name="Id" type="Guid" value-generated="OnAdd" p1:ValidateRequired="true" p1:Guid="cca7506d-fc68-4075-bb8c-1b502aa79807">

View File

@@ -2,7 +2,7 @@
// This is auto-generated code. // This is auto-generated code.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// This code was generated by Entity Developer tool using EF Core template. // This code was generated by Entity Developer tool using EF Core template.
// Code is generated on: 01.04.2022 16:41:05 // Code is generated on: 02.04.2022 10:49:14
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View File

@@ -2,7 +2,7 @@
// This is auto-generated code. // This is auto-generated code.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// This code was generated by Entity Developer tool using EF Core template. // This code was generated by Entity Developer tool using EF Core template.
// Code is generated on: 01.04.2022 16:41:05 // Code is generated on: 02.04.2022 10:49:14
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
@@ -22,7 +22,10 @@ namespace FoodsharingSiegen.Contracts.Entity
{ {
EinAb = 10, EinAb = 10,
Welcome = 20, Welcome = 20,
Verify = 30, IdCheck = 30,
Pass = 40 PrintPass = 40,
PdfPass = 50,
Verify = 60,
Complete = 70
} }
} }

View File

@@ -2,7 +2,7 @@
// This is auto-generated code. // This is auto-generated code.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// This code was generated by Entity Developer tool using EF Core template. // This code was generated by Entity Developer tool using EF Core template.
// Code is generated on: 01.04.2022 16:41:05 // Code is generated on: 02.04.2022 10:49:14
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
@@ -34,6 +34,10 @@ namespace FoodsharingSiegen.Contracts.Entity
public virtual Guid ProgressId { get; set; } public virtual Guid ProgressId { get; set; }
public virtual DateTime Created { get; set; }
public virtual string Memo { get; set; }
public virtual IList<Interaction> Interactions { get; set; } public virtual IList<Interaction> Interactions { get; set; }
#region Extensibility Method Definitions #region Extensibility Method Definitions

View File

@@ -2,7 +2,7 @@
// This is auto-generated code. // This is auto-generated code.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// This code was generated by Entity Developer tool using EF Core template. // This code was generated by Entity Developer tool using EF Core template.
// Code is generated on: 01.04.2022 16:41:05 // Code is generated on: 02.04.2022 10:49:14
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View File

@@ -2,7 +2,7 @@
// This is auto-generated code. // This is auto-generated code.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// This code was generated by Entity Developer tool using EF Core template. // This code was generated by Entity Developer tool using EF Core template.
// Code is generated on: 01.04.2022 16:41:05 // Code is generated on: 02.04.2022 10:49:14
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
@@ -24,6 +24,7 @@ namespace FoodsharingSiegen.Contracts.Entity
ReadOnly = 10, ReadOnly = 10,
WelcomeTeam = 20, WelcomeTeam = 20,
StoreManager = 30, StoreManager = 30,
Admin = 40 Ambassador = 40,
Admin = 50
} }
} }

View File

@@ -2,7 +2,7 @@
// This is auto-generated code. // This is auto-generated code.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// This code was generated by Entity Developer tool using EF Core template. // This code was generated by Entity Developer tool using EF Core template.
// Code is generated on: 01.04.2022 16:41:05 // Code is generated on: 02.04.2022 10:49:14
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
@@ -116,6 +116,8 @@ namespace FoodsharingSiegen.Server.Data
modelBuilder.Entity<Prospect>().Property(x => x.FsId).HasColumnName(@"FsId").IsRequired().ValueGeneratedNever(); modelBuilder.Entity<Prospect>().Property(x => x.FsId).HasColumnName(@"FsId").IsRequired().ValueGeneratedNever();
modelBuilder.Entity<Prospect>().Property(x => x.Name).HasColumnName(@"Name").IsRequired().ValueGeneratedNever(); modelBuilder.Entity<Prospect>().Property(x => x.Name).HasColumnName(@"Name").IsRequired().ValueGeneratedNever();
modelBuilder.Entity<Prospect>().Property(x => x.ProgressId).HasColumnName(@"ProgressId").IsRequired().ValueGeneratedNever(); modelBuilder.Entity<Prospect>().Property(x => x.ProgressId).HasColumnName(@"ProgressId").IsRequired().ValueGeneratedNever();
modelBuilder.Entity<Prospect>().Property(x => x.Created).HasColumnName(@"Created").IsRequired().ValueGeneratedNever();
modelBuilder.Entity<Prospect>().Property(x => x.Memo).HasColumnName(@"Memo").IsRequired().ValueGeneratedNever();
modelBuilder.Entity<Prospect>().HasKey(@"Id"); modelBuilder.Entity<Prospect>().HasKey(@"Id");
} }

View File

@@ -0,0 +1,152 @@
// <auto-generated />
using System;
using FoodsharingSiegen.Server.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace FoodsharingSiegen.Server.Migrations
{
[DbContext(typeof(FsContext))]
[Migration("20220401164353_asd")]
partial class asd
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "6.0.1");
modelBuilder.Entity("FoodsharingSiegen.Contracts.Entity.Interaction", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT")
.HasColumnName("Id");
b.Property<DateTime>("Date")
.HasColumnType("TEXT")
.HasColumnName("Date");
b.Property<string>("Info")
.HasColumnType("TEXT")
.HasColumnName("Info");
b.Property<Guid>("ProspectId")
.HasColumnType("TEXT")
.HasColumnName("ProspectId");
b.Property<int>("Type")
.HasColumnType("INTEGER")
.HasColumnName("Type");
b.Property<Guid>("UserId")
.HasColumnType("TEXT")
.HasColumnName("UserId");
b.HasKey("Id");
b.HasIndex("ProspectId");
b.HasIndex("UserId");
b.ToTable("Interactions", (string)null);
});
modelBuilder.Entity("FoodsharingSiegen.Contracts.Entity.Prospect", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT")
.HasColumnName("Id");
b.Property<DateTime>("Created")
.HasColumnType("TEXT")
.HasColumnName("Created");
b.Property<int>("FsId")
.HasColumnType("INTEGER")
.HasColumnName("FsId");
b.Property<string>("Name")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("Name");
b.Property<Guid>("ProgressId")
.HasColumnType("TEXT")
.HasColumnName("ProgressId");
b.HasKey("Id");
b.ToTable("Prospects", (string)null);
});
modelBuilder.Entity("FoodsharingSiegen.Contracts.Entity.User", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT")
.HasColumnName("Id");
b.Property<DateTime>("Created")
.HasColumnType("TEXT")
.HasColumnName("Created");
b.Property<string>("Mail")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("Mail");
b.Property<string>("Name")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("Name");
b.Property<int>("Type")
.HasColumnType("INTEGER")
.HasColumnName("Type");
b.Property<bool>("Verified")
.HasColumnType("INTEGER")
.HasColumnName("Verified");
b.HasKey("Id");
b.ToTable("Users", (string)null);
});
modelBuilder.Entity("FoodsharingSiegen.Contracts.Entity.Interaction", b =>
{
b.HasOne("FoodsharingSiegen.Contracts.Entity.Prospect", "Prospect")
.WithMany("Interactions")
.HasForeignKey("ProspectId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("FoodsharingSiegen.Contracts.Entity.User", "User")
.WithMany("Interactions")
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Prospect");
b.Navigation("User");
});
modelBuilder.Entity("FoodsharingSiegen.Contracts.Entity.Prospect", b =>
{
b.Navigation("Interactions");
});
modelBuilder.Entity("FoodsharingSiegen.Contracts.Entity.User", b =>
{
b.Navigation("Interactions");
});
#pragma warning restore 612, 618
}
}
}

View File

@@ -0,0 +1,37 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace FoodsharingSiegen.Server.Migrations
{
public partial class asd : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "Created",
table: "Prospects",
type: "TEXT",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
migrationBuilder.AddColumn<string>(
name: "Info",
table: "Interactions",
type: "TEXT",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Created",
table: "Prospects");
migrationBuilder.DropColumn(
name: "Info",
table: "Interactions");
}
}
}

View File

@@ -0,0 +1,157 @@
// <auto-generated />
using System;
using FoodsharingSiegen.Server.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace FoodsharingSiegen.Server.Migrations
{
[DbContext(typeof(FsContext))]
[Migration("20220401171855_asdk")]
partial class asdk
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "6.0.1");
modelBuilder.Entity("FoodsharingSiegen.Contracts.Entity.Interaction", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT")
.HasColumnName("Id");
b.Property<DateTime>("Date")
.HasColumnType("TEXT")
.HasColumnName("Date");
b.Property<string>("Info")
.HasColumnType("TEXT")
.HasColumnName("Info");
b.Property<Guid>("ProspectId")
.HasColumnType("TEXT")
.HasColumnName("ProspectId");
b.Property<int>("Type")
.HasColumnType("INTEGER")
.HasColumnName("Type");
b.Property<Guid>("UserId")
.HasColumnType("TEXT")
.HasColumnName("UserId");
b.HasKey("Id");
b.HasIndex("ProspectId");
b.HasIndex("UserId");
b.ToTable("Interactions", (string)null);
});
modelBuilder.Entity("FoodsharingSiegen.Contracts.Entity.Prospect", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT")
.HasColumnName("Id");
b.Property<DateTime>("Created")
.HasColumnType("TEXT")
.HasColumnName("Created");
b.Property<int>("FsId")
.HasColumnType("INTEGER")
.HasColumnName("FsId");
b.Property<string>("Memo")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("Memo");
b.Property<string>("Name")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("Name");
b.Property<Guid>("ProgressId")
.HasColumnType("TEXT")
.HasColumnName("ProgressId");
b.HasKey("Id");
b.ToTable("Prospects", (string)null);
});
modelBuilder.Entity("FoodsharingSiegen.Contracts.Entity.User", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT")
.HasColumnName("Id");
b.Property<DateTime>("Created")
.HasColumnType("TEXT")
.HasColumnName("Created");
b.Property<string>("Mail")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("Mail");
b.Property<string>("Name")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("Name");
b.Property<int>("Type")
.HasColumnType("INTEGER")
.HasColumnName("Type");
b.Property<bool>("Verified")
.HasColumnType("INTEGER")
.HasColumnName("Verified");
b.HasKey("Id");
b.ToTable("Users", (string)null);
});
modelBuilder.Entity("FoodsharingSiegen.Contracts.Entity.Interaction", b =>
{
b.HasOne("FoodsharingSiegen.Contracts.Entity.Prospect", "Prospect")
.WithMany("Interactions")
.HasForeignKey("ProspectId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("FoodsharingSiegen.Contracts.Entity.User", "User")
.WithMany("Interactions")
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Prospect");
b.Navigation("User");
});
modelBuilder.Entity("FoodsharingSiegen.Contracts.Entity.Prospect", b =>
{
b.Navigation("Interactions");
});
modelBuilder.Entity("FoodsharingSiegen.Contracts.Entity.User", b =>
{
b.Navigation("Interactions");
});
#pragma warning restore 612, 618
}
}
}

View File

@@ -0,0 +1,26 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace FoodsharingSiegen.Server.Migrations
{
public partial class asdk : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Memo",
table: "Prospects",
type: "TEXT",
nullable: false,
defaultValue: "");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Memo",
table: "Prospects");
}
}
}

View File

@@ -28,6 +28,10 @@ namespace FoodsharingSiegen.Server.Migrations
.HasColumnType("TEXT") .HasColumnType("TEXT")
.HasColumnName("Date"); .HasColumnName("Date");
b.Property<string>("Info")
.HasColumnType("TEXT")
.HasColumnName("Info");
b.Property<Guid>("ProspectId") b.Property<Guid>("ProspectId")
.HasColumnType("TEXT") .HasColumnType("TEXT")
.HasColumnName("ProspectId"); .HasColumnName("ProspectId");
@@ -56,10 +60,19 @@ namespace FoodsharingSiegen.Server.Migrations
.HasColumnType("TEXT") .HasColumnType("TEXT")
.HasColumnName("Id"); .HasColumnName("Id");
b.Property<DateTime>("Created")
.HasColumnType("TEXT")
.HasColumnName("Created");
b.Property<int>("FsId") b.Property<int>("FsId")
.HasColumnType("INTEGER") .HasColumnType("INTEGER")
.HasColumnName("FsId"); .HasColumnName("FsId");
b.Property<string>("Memo")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("Memo");
b.Property<string>("Name") b.Property<string>("Name")
.IsRequired() .IsRequired()
.HasColumnType("TEXT") .HasColumnType("TEXT")

Binary file not shown.

Binary file not shown.