Teil 1
This commit is contained in:
161
BeWo/BeWo.csproj
161
BeWo/BeWo.csproj
@@ -888,6 +888,7 @@
|
||||
<Compile Include="Converter\CollectionCountToVisibilityConverter.cs" />
|
||||
<Compile Include="Converter\DeleteForGoodRight2VisibilityConverter.cs" />
|
||||
<Compile Include="Converter\EnumToDescriptionConverter.cs" />
|
||||
<Compile Include="Converter\EnumTranslationConverter.cs" />
|
||||
<Compile Include="Converter\FileAttachmentTypeConverter.cs" />
|
||||
<Compile Include="Converter\GkvState2StringConverter.cs" />
|
||||
<Compile Include="Converter\IndividualGoalMassnahmeUncheckPreventConverter.cs" />
|
||||
@@ -1088,6 +1089,10 @@
|
||||
<Compile Include="ViewModel\AdditionalServiceRegionVM.cs" />
|
||||
<Compile Include="ViewModel\AdditionalServiceVM.cs" />
|
||||
<Compile Include="ViewModel\CustomerFalldatenVM.cs" />
|
||||
<Compile Include="ViewModel\Wohnhilfe\CustomerWohnhilfeBereichBundVM.cs" />
|
||||
<Compile Include="ViewModel\Wohnhilfe\CustomerWohnhilfeBereichEinkommenUndArbeitVM.cs" />
|
||||
<Compile Include="ViewModel\Wohnhilfe\CustomerWohnhilfeBereichSozialeKontakteVM.cs" />
|
||||
<Compile Include="ViewModel\Wohnhilfe\CustomerWohnhilfeBereichSozialstrukturVM.cs" />
|
||||
<Compile Include="ViewModel\CustomerWohnhilfeVM.cs" />
|
||||
<Compile Include="ViewModel\ImageVM.cs" />
|
||||
<Compile Include="ViewModel\ListViewModel\CustomerWohnhilfeListVM.cs" />
|
||||
@@ -2778,392 +2783,392 @@
|
||||
<ItemGroup>
|
||||
<PublishFile Include="Blacklight.Wpf.Controls">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Charts.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Data.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Data.v23.2.Linq">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Office.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.PivotGrid.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Printing.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.RichEdit.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.RichEdit.v23.2.Export">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Sparkline.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Utils.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Accordion.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Charts.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Core.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Docking.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Grid.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Grid.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Layout.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Mvvm.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Printing.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Printing.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Ribbon.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Scheduler.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Themes.LightGray.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Themes.Office2007Black.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Themes.Office2010Black.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Themes.Office2013.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.Xpf.Themes.Office2016White.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraBars.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraCharts.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraEditors.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraNavBar.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraPivotGrid.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraPrinting.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraReports.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraScheduler.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraScheduler.v23.2.Core">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraScheduler.v23.2.Reporting">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="DevExpress.XtraTreeList.v23.2">
|
||||
<Visible>False</Visible>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Include</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
</ItemGroup>
|
||||
|
||||
@@ -83,6 +83,7 @@
|
||||
<conv:DeleteForGoodRight2VisibilityConverter x:Key="DeleteForGoodRight2VisibilityConverter" />
|
||||
<conv:AnonymizationRight2VisibilityConverter x:Key="AnonymizationRight2VisibilityConverter" />
|
||||
<conv:GkvState2StringConverter x:Key="GkvState2StringConverter" />
|
||||
<conv:EnumTranslationConverter x:Key="EnumTranslationConverter" />
|
||||
|
||||
<Style x:Key="SupportConceptDetailStyle" TargetType="{x:Type ListBoxItem}">
|
||||
<Setter Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorLevel=1, AncestorType={x:Type ItemsControl}, Mode=FindAncestor}}" />
|
||||
|
||||
35
BeWo/Converter/EnumTranslationConverter.cs
Normal file
35
BeWo/Converter/EnumTranslationConverter.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using BS.Shared.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Data;
|
||||
|
||||
namespace BeWo.Converter
|
||||
{
|
||||
public class EnumTranslationConverter : IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
if(value is Enum e)
|
||||
{
|
||||
if(EnumTranslations.Wohnhilfe2Translation.TryGetValue(e, out string v))
|
||||
{
|
||||
return v;
|
||||
}
|
||||
|
||||
return e;
|
||||
}
|
||||
|
||||
return null;
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -14,8 +14,8 @@
|
||||
xmlns:core="clr-namespace:BS.Shared.Core;assembly=BS.Shared"
|
||||
xmlns:controls="clr-namespace:BeWo.View.Controls"
|
||||
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:t="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
mc:Ignorable="d"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:CustomerVM, IsDesignTimeCreatable=true}"
|
||||
|
||||
@@ -5,9 +5,10 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:BeWo.View.Detail"
|
||||
xmlns:t="clr-namespace:BeWo.MultiLanguage.Markup"
|
||||
xmlns:viewmodel="clr-namespace:BeWo.ViewModel"
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
mc:Ignorable="d"
|
||||
d:DataContext="{d:DesignInstance Type=viewmodel:CustomerVM, IsDesignTimeCreatable=true}"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
@@ -20,6 +21,30 @@
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
<Style TargetType="GroupBox" BasedOn="{StaticResource ObjectEditGroupBox}">
|
||||
<Setter Property="Margin" Value="0"/>
|
||||
</Style>
|
||||
<Style x:Key="TitleLabel" TargetType="Label">
|
||||
<Setter Property="TextElement.FontSize" Value="16" />
|
||||
<Setter Property="TextElement.Foreground" Value="{StaticResource TabItemHotTextBrush}" />
|
||||
<Setter Property="TextElement.FontFamily" Value="Microsoft Sans Serif" />
|
||||
<Setter Property="Padding" Value="3,0,3,0" />
|
||||
<Setter Property="MinHeight" Value="20" />
|
||||
<Setter Property="HorizontalAlignment" Value="Center"/>
|
||||
<Setter Property="Margin" Value="3, 4, 3, 6"/>
|
||||
</Style>
|
||||
<DataTemplate x:Key="ListItemView">
|
||||
<TextBlock Text="{Binding Path=., Converter={StaticResource EnumTranslationConverter}}"/>
|
||||
</DataTemplate>
|
||||
<Style TargetType="uc:NullItemComboBox" BasedOn="{StaticResource {x:Type uc:NullItemComboBox}}">
|
||||
<Setter Property="Margin" Value="3"/>
|
||||
<Setter Property="ItemTemplate" Value="{StaticResource ListItemView}"/>
|
||||
</Style>
|
||||
<Style TargetType="ComboBox" BasedOn="{StaticResource {x:Type ComboBox}}">
|
||||
<Setter Property="Margin" Value="3"/>
|
||||
<Setter Property="MinHeight" Value="23"/>
|
||||
<Setter Property="ItemTemplate" Value="{StaticResource ListItemView}"/>
|
||||
</Style>
|
||||
</UserControl.Resources>
|
||||
<Grid>
|
||||
<Grid DataContext="{Binding CustomerWohnhilfeListVM}">
|
||||
@@ -41,7 +66,10 @@
|
||||
</Button.Style>-->
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<TabControl Grid.Row="1" Margin="5" ItemsSource="{Binding VMList}" SelectedItem="{Binding SelectedVM}" x:Name="tabcontrol_NotizenKategorien" Visibility="{Binding VMList.Count, Converter={StaticResource CollectionCountToVisibilityConverter}}">
|
||||
<TabControl Grid.Row="1" Margin="5"
|
||||
ItemsSource="{Binding VMList}"
|
||||
SelectedItem="{Binding SelectedVM}" x:Name="tabcontrol_NotizenKategorien"
|
||||
Visibility="{Binding VMList.Count, Converter={StaticResource CollectionCountToVisibilityConverter}}">
|
||||
<TabControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
@@ -76,34 +104,65 @@
|
||||
<DataTemplate>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<!--<GroupBox Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="4" x:Name="EintraegeGrid" Style="{StaticResource ObjectEditGroupBox}" Header="Notizen">
|
||||
|
||||
</GroupBox>-->
|
||||
|
||||
<GroupBox Grid.Row="0" Grid.Column="0" Style="{StaticResource ObjectEditGroupBox}" Header="Bereich Sozialstruktur">
|
||||
<GroupBox Grid.Row="0" Grid.Column="0" Margin="20, 20, 10, 10" DataContext="{Binding BereichBundVM}" Header="Bereich Bund">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Label Grid.Row="0" Grid.Column="0" Content="Eigenes Aktenzeichen" />
|
||||
<Label Grid.Row="0" Grid.Column="0">Verbandszugehörigkeit der Eintrichtung</Label>
|
||||
<uc:NullItemComboBox Grid.Row="0" Grid.Column="1" SelectedValue="{Binding Verbandszugehorigkeit}" ItemsSource="{Binding VerbandszugehorigkeitTypes}"/>
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0">Geschlecht nach Personenstandsurkunde</Label>
|
||||
<uc:NullItemComboBox Grid.Row="1" Grid.Column="1" SelectedValue="{Binding Geschlecht}" ItemsSource="{Binding GeschlechtTypes}"/>
|
||||
|
||||
<Label Grid.Row="2" Grid.Column="0">Alter am Stichtag</Label>
|
||||
<dxe:TextEdit Grid.Row="2" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=AlterAmStichtag, UpdateSourceTrigger=PropertyChanged}" Mask="#########"/>
|
||||
|
||||
<Label Grid.Row="3" Grid.Column="0">Haushaltsgröße</Label>
|
||||
<dxe:TextEdit Grid.Row="3" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True" Mask="N0"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=Haushaltsgrosse, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<Label Grid.Row="4" Grid.Column="0">BerichtseinheitID</Label>
|
||||
<dxe:TextEdit Grid.Row="4" Grid.Column="1" Margin="3" Height="23" MaskType="Numeric" MaskUseAsDisplayFormat="True" Mask="00000000000"
|
||||
dxe:NumericMaskOptions.AlwaysShowDecimalSeparator="False"
|
||||
EditValue="{Binding Path=BerichtseinheitID, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
|
||||
<Label Grid.Row="5" Grid.Column="0">Unterbringungsort</Label>
|
||||
<uc:NullItemComboBox Grid.Row="5" Grid.Column="1" SelectedValue="{Binding Unterbringungsart}" ItemsSource="{Binding UnterbringungsartTypes}"/>
|
||||
|
||||
<Label Grid.Row="6" Grid.Column="0">Ort der Unterbringung</Label>
|
||||
|
||||
<Label Grid.Row="7" Grid.Column="0">Angebot</Label>
|
||||
<uc:NullItemComboBox Grid.Row="7" Grid.Column="1" SelectedValue="{Binding Angebot}" ItemsSource="{Binding AngebotTypes}"/>
|
||||
</Grid>
|
||||
|
||||
<!--<Label Grid.Row="0" Grid.Column="0" Content="Eigenes Aktenzeichen" />
|
||||
<TextBox Grid.Row="0" Grid.Column="1" Margin="3" Height="23" Text="{Binding Path=EigenesAktenzeichen, UpdateSourceTrigger=PropertyChanged}" IsReadOnly="{Binding Path=PermissionFalldatenEdit, Mode=OneTime, Converter={StaticResource BoolReverseConverter}}"/>
|
||||
<Label Grid.Row="1" Grid.Column="0" Content="Auftragseingang" IsEnabled="True" />
|
||||
<dxe:DateEdit Grid.Row="1" Grid.Column="1" Margin="3" Height="23" ShowClearButton="False" EditValue="{Binding Path=Auftragseingang, UpdateSourceTrigger=PropertyChanged}"
|
||||
@@ -111,19 +170,75 @@
|
||||
<Label Grid.Row="2" Grid.Column="0" Content="Auftragsherkunft" />
|
||||
<uc:NullItemComboBox x:Name="comboBox_Auftragsherkunft" Grid.Row="2" Grid.Column="1" Margin="3" Height="23" SelectedValue="{Binding Path=Auftragsherkunft, Mode=TwoWay}"
|
||||
ItemsSource="{Binding Path=Auftragsherkunfte}" MinWidth="30" HorizontalAlignment="Stretch"
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"/>
|
||||
IsEnabled="{Binding Path=PermissionFalldatenEdit, Mode=OneTime}"/>-->
|
||||
|
||||
</GroupBox>
|
||||
|
||||
<GroupBox Grid.Row="0" Grid.Column="1" DataContext="{Binding BereichEinkommenUndArbeitVM}" Header="Bereich Einkommen und Arbeit" Margin="10, 20, 20, 10">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="auto"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
|
||||
<Label Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Style="{StaticResource TitleLabel}">zu Beginn</Label>
|
||||
<Rectangle Grid.Row="0" Grid.Column="2" Grid.RowSpan="20" VerticalAlignment="Stretch" Fill="Black" Width="1"/>
|
||||
<Label Grid.Row="0" Grid.Column="3" Grid.ColumnSpan="2" Style="{StaticResource TitleLabel}">am Ende</Label>
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0">W2010 Einkommenssituation</Label>
|
||||
<ComboBox Grid.Row="1" Grid.Column="1" SelectedValue="{Binding BeginnEinkommenssituation}" ItemsSource="{Binding EinkommenssituationTypes}"/>
|
||||
<Label Grid.Row="1" Grid.Column="3">W2030 Einkommenssituation</Label>
|
||||
<ComboBox Grid.Row="1" Grid.Column="4" SelectedValue="{Binding EndeEinkommenssituation}" ItemsSource="{Binding EinkommenssituationTypes}"/>
|
||||
|
||||
<Label Grid.Row="2" Grid.Column="0">W2020 Aufstockung des Einkommens</Label>
|
||||
<ComboBox Grid.Row="2" Grid.Column="1" SelectedValue="{Binding BeginnAufstockungEinkommen}" ItemsSource="{Binding AufstockungEinkommenTypes}"/>
|
||||
<Label Grid.Row="2" Grid.Column="3">W2040 Aufstockung des Einkommens</Label>
|
||||
<ComboBox Grid.Row="2" Grid.Column="4" SelectedValue="{Binding EndeAufstockungEinkommen}" ItemsSource="{Binding AufstockungEinkommenTypes}"/>
|
||||
|
||||
<Label Grid.Row="3" Grid.Column="0">W2050 Eigenes Bankkonto</Label>
|
||||
<ComboBox Grid.Row="3" Grid.Column="1" SelectedValue="{Binding BeginnEigenesBankkonto}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
<Label Grid.Row="3" Grid.Column="3">W2060 Eigenes Bankkonto</Label>
|
||||
<ComboBox Grid.Row="3" Grid.Column="4" SelectedValue="{Binding EndeEigenesBankkonto}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
|
||||
<Label Grid.Row="4" Grid.Column="0">W2070 Überschuldung</Label>
|
||||
<ComboBox Grid.Row="4" Grid.Column="1" SelectedValue="{Binding Uberschuldung}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
|
||||
<Label Grid.Row="5" Grid.Column="0">G2080 Höchster erreichter Berufsabschluss</Label>
|
||||
<ComboBox Grid.Row="5" Grid.Column="1" SelectedValue="{Binding Berufsabschluss}" ItemsSource="{Binding BerufsschulabschlussTypes}"/>
|
||||
|
||||
<Label Grid.Row="6" Grid.Column="0">W2090 Erwerbsfähigkeit im Sinne des SGB:</Label>
|
||||
<ComboBox Grid.Row="6" Grid.Column="1" SelectedValue="{Binding ErwerbsfahigkeitSinnSGB}" ItemsSource="{Binding WohnhilfeBoolDataTypes}"/>
|
||||
|
||||
<Label Grid.Row="7" Grid.Column="0">W2100 Arbeits- und Beschäftigungssituation</Label>
|
||||
<ComboBox Grid.Row="7" Grid.Column="1" SelectedValue="{Binding BeginnBeschaftigungsstatus}" ItemsSource="{Binding BeschaftigungsstatusTypes}"/>
|
||||
<Label Grid.Row="7" Grid.Column="3">W2110 Arbeits- und Beschäftigungssituation</Label>
|
||||
<ComboBox Grid.Row="7" Grid.Column="4" SelectedValue="{Binding EndeBeschaftigungsstatus}" ItemsSource="{Binding BeschaftigungsstatusTypes}"/>
|
||||
|
||||
<Label Grid.Row="8" Grid.Column="0">W2120 Dauer der Arbeitslosigkeit</Label>
|
||||
<ComboBox Grid.Row="8" Grid.Column="1" SelectedValue="{Binding DauerArbeitslosigkeit}" ItemsSource="{Binding DauerArbeitslosigkeitTypes}"/>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
<GroupBox Grid.Row="0" Grid.Column="1" Style="{StaticResource ObjectEditGroupBox}" Header="Bereich Bund">
|
||||
<GroupBox Grid.Row="1" Grid.Column="1" Header="Bereich Soziale Kontakte" Margin="10, 10, 20, 20">
|
||||
|
||||
</GroupBox>
|
||||
|
||||
<GroupBox Grid.Row="1" Grid.Column="0" Style="{StaticResource ObjectEditGroupBox}" Header="Bereich Einkommen und Arbeit">
|
||||
|
||||
</GroupBox>
|
||||
|
||||
<GroupBox Grid.Row="1" Grid.Column="1" Style="{StaticResource ObjectEditGroupBox}" Header="Bereich Einkommen und Arbeit">
|
||||
<GroupBox Grid.Row="1" Grid.Column="0" Header="Bereich Sozialstruktur" Margin="20, 10, 10, 20">
|
||||
|
||||
</GroupBox>
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
using BS.Shared.DataContracts;
|
||||
using BeWo.ViewModel.Wohnhilfe;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
using DevExpress.Mvvm;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -14,11 +17,22 @@ namespace BeWo.ViewModel
|
||||
|
||||
private string _Displayname;
|
||||
|
||||
private CustomerWohnhilfeBereichBundVM _BereichBundVM;
|
||||
private CustomerWohnhilfeBereichEinkommenUndArbeitVM _BereichEinkommenUndArbeitVM;
|
||||
private CustomerWohnhilfeBereichSozialeKontakteVM _BereichSozialeKontakteVM;
|
||||
private CustomerWohnhilfeBereichSozialstrukturVM _BereichSozialstrukturVM;
|
||||
|
||||
public CustomerWohnhilfeVM(CustomerWohnhilfeDC dc) : base(dc, dc.Oid == null)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override bool IsDirty => base.IsDirty ||
|
||||
_BereichBundVM.IsDirty ||
|
||||
_BereichEinkommenUndArbeitVM.IsDirty ||
|
||||
_BereichSozialeKontakteVM.IsDirty ||
|
||||
_BereichSozialstrukturVM.IsDirty;
|
||||
|
||||
public string Displayname
|
||||
{
|
||||
get { return _Displayname; }
|
||||
@@ -32,9 +46,66 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
protected override void InitByDataContract(CustomerWohnhilfeDC pDataContract)
|
||||
public CustomerWohnhilfeBereichBundVM BereichBundVM
|
||||
{
|
||||
get { return _BereichBundVM; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(BereichBundVM, value))
|
||||
return;
|
||||
|
||||
_BereichBundVM = value;
|
||||
FirePropertyChanged(nameof(BereichBundVM));
|
||||
}
|
||||
}
|
||||
|
||||
public CustomerWohnhilfeBereichEinkommenUndArbeitVM BereichEinkommenUndArbeitVM
|
||||
{
|
||||
get { return _BereichEinkommenUndArbeitVM; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(BereichEinkommenUndArbeitVM, value))
|
||||
return;
|
||||
|
||||
_BereichEinkommenUndArbeitVM = value;
|
||||
FirePropertyChanged(nameof(BereichEinkommenUndArbeitVM));
|
||||
}
|
||||
}
|
||||
|
||||
public CustomerWohnhilfeBereichSozialeKontakteVM BereichSozialeKontakteVM
|
||||
{
|
||||
get { return _BereichSozialeKontakteVM; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(BereichSozialeKontakteVM, value))
|
||||
return;
|
||||
|
||||
_BereichSozialeKontakteVM = value;
|
||||
FirePropertyChanged(nameof(BereichSozialeKontakteVM));
|
||||
}
|
||||
}
|
||||
|
||||
public CustomerWohnhilfeBereichSozialstrukturVM BereichSozialstrukturVM
|
||||
{
|
||||
get { return _BereichSozialstrukturVM; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(BereichSozialstrukturVM, value))
|
||||
return;
|
||||
|
||||
_BereichSozialstrukturVM = value;
|
||||
FirePropertyChanged(nameof(BereichSozialstrukturVM));
|
||||
}
|
||||
}
|
||||
|
||||
protected override void InitByDataContract(CustomerWohnhilfeDC dc)
|
||||
{
|
||||
Displayname = "Test " + counter++;
|
||||
|
||||
_BereichBundVM = new CustomerWohnhilfeBereichBundVM(dc.BereichBundDC ?? (dc.BereichBundDC = new CustomerWohnhilfeBereichBundDC()));
|
||||
_BereichEinkommenUndArbeitVM = new CustomerWohnhilfeBereichEinkommenUndArbeitVM(dc.BereichEinkommenUndArbeitDC ?? (dc.BereichEinkommenUndArbeitDC = new CustomerWohnhilfeBereichEinkommenUndArbeitDC())); ;
|
||||
_BereichSozialeKontakteVM = new CustomerWohnhilfeBereichSozialeKontakteVM(dc.BereichSozialeKontakteDC ?? (dc.BereichSozialeKontakteDC = new CustomerWohnhilfeBereichSozialeKontakteDC()));
|
||||
_BereichSozialstrukturVM = new CustomerWohnhilfeBereichSozialstrukturVM(dc.BereichSozialstrukturDC ?? (dc.BereichSozialstrukturDC = new CustomerWohnhilfeBereichSozialstrukturDC()));
|
||||
}
|
||||
|
||||
protected override CustomerWohnhilfeDC MapToDataContract(CustomerWohnhilfeDC pDataContract, bool doCommit)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
using DevExpress.Mvvm;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
170
BeWo/ViewModel/Wohnhilfe/CustomerWohnhilfeBereichBundVM.cs
Normal file
170
BeWo/ViewModel/Wohnhilfe/CustomerWohnhilfeBereichBundVM.cs
Normal file
@@ -0,0 +1,170 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
|
||||
namespace BeWo.ViewModel.Wohnhilfe
|
||||
{
|
||||
public class CustomerWohnhilfeBereichBundVM : AbstractDCMapperVM<CustomerWohnhilfeBereichBundDC>
|
||||
{
|
||||
private Verbandszugehorigkeit? _Verbandszugehorigkeit;
|
||||
private Geschlecht? _Geschlecht;
|
||||
private int? _AlterAmStichtag;
|
||||
private int? _Haushaltsgrosse;
|
||||
private long? _BerichtseinheitID;
|
||||
private Unterbringungsart? _Unterbringungsart;
|
||||
private int? _OrtDerEinrichtung;
|
||||
private Angebot? _Angebot;
|
||||
|
||||
public CustomerWohnhilfeBereichBundVM(CustomerWohnhilfeBereichBundDC dc) : base(dc, dc.Oid == null)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public IEnumerable<Verbandszugehorigkeit> VerbandszugehorigkeitTypes => Utils.GetAllEnumValues<Verbandszugehorigkeit>();
|
||||
public IEnumerable<Geschlecht> GeschlechtTypes => Utils.GetAllEnumValues<Geschlecht>();
|
||||
public IEnumerable<Unterbringungsart> UnterbringungsartTypes => Utils.GetAllEnumValues<Unterbringungsart>();
|
||||
public IEnumerable<Angebot> AngebotTypes => Utils.GetAllEnumValues<Angebot>();
|
||||
|
||||
public Verbandszugehorigkeit? Verbandszugehorigkeit
|
||||
{
|
||||
get { return _Verbandszugehorigkeit; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Verbandszugehorigkeit, value))
|
||||
return;
|
||||
|
||||
_Verbandszugehorigkeit = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Verbandszugehorigkeit, value), nameof(Verbandszugehorigkeit));
|
||||
FirePropertyChanged(nameof(Verbandszugehorigkeit));
|
||||
}
|
||||
}
|
||||
|
||||
public Geschlecht? Geschlecht
|
||||
{
|
||||
get { return _Geschlecht; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Geschlecht, value))
|
||||
return;
|
||||
|
||||
_Geschlecht = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Geschlecht, value), nameof(Geschlecht));
|
||||
FirePropertyChanged(nameof(Geschlecht));
|
||||
}
|
||||
}
|
||||
|
||||
public int? AlterAmStichtag
|
||||
{
|
||||
get { return _AlterAmStichtag; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_AlterAmStichtag, value))
|
||||
return;
|
||||
|
||||
_AlterAmStichtag = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.AlterAmStichtag, value), nameof(AlterAmStichtag));
|
||||
FirePropertyChanged(nameof(AlterAmStichtag));
|
||||
}
|
||||
}
|
||||
|
||||
public int? Haushaltsgrosse
|
||||
{
|
||||
get { return _Haushaltsgrosse; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Haushaltsgrosse, value))
|
||||
return;
|
||||
|
||||
_Haushaltsgrosse = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Haushaltsgrosse, value), nameof(Haushaltsgrosse));
|
||||
FirePropertyChanged(nameof(Haushaltsgrosse));
|
||||
}
|
||||
}
|
||||
|
||||
public long? BerichtseinheitID
|
||||
{
|
||||
get { return _BerichtseinheitID; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BerichtseinheitID, value))
|
||||
return;
|
||||
|
||||
_BerichtseinheitID = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BerichtseinheitID, value), nameof(BerichtseinheitID));
|
||||
FirePropertyChanged(nameof(BerichtseinheitID));
|
||||
}
|
||||
}
|
||||
|
||||
public Unterbringungsart? Unterbringungsart
|
||||
{
|
||||
get { return _Unterbringungsart; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Unterbringungsart, value))
|
||||
return;
|
||||
|
||||
_Unterbringungsart = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Unterbringungsart, value), nameof(Unterbringungsart));
|
||||
FirePropertyChanged(nameof(Unterbringungsart));
|
||||
}
|
||||
}
|
||||
|
||||
public int? OrtDerEinrichtung
|
||||
{
|
||||
get { return _OrtDerEinrichtung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_OrtDerEinrichtung, value))
|
||||
return;
|
||||
|
||||
_OrtDerEinrichtung = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.OrtDerEinrichtung, value), nameof(OrtDerEinrichtung));
|
||||
FirePropertyChanged(nameof(OrtDerEinrichtung));
|
||||
}
|
||||
}
|
||||
|
||||
public Angebot? Angebot
|
||||
{
|
||||
get { return _Angebot; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Angebot, value))
|
||||
return;
|
||||
|
||||
_Angebot = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Angebot, value), nameof(Angebot));
|
||||
FirePropertyChanged(nameof(Angebot));
|
||||
}
|
||||
}
|
||||
|
||||
protected override void InitByDataContract(CustomerWohnhilfeBereichBundDC pDataContract)
|
||||
{
|
||||
_Verbandszugehorigkeit = pDataContract.Verbandszugehorigkeit;
|
||||
_Geschlecht = pDataContract.Geschlecht;
|
||||
_AlterAmStichtag = pDataContract.AlterAmStichtag;
|
||||
_Haushaltsgrosse = pDataContract.Haushaltsgrosse;
|
||||
_BerichtseinheitID = pDataContract.BerichtseinheitID;
|
||||
_Unterbringungsart = pDataContract.Unterbringungsart;
|
||||
_OrtDerEinrichtung = pDataContract.OrtDerEinrichtung;
|
||||
_Angebot = pDataContract.Angebot;
|
||||
}
|
||||
|
||||
protected override CustomerWohnhilfeBereichBundDC MapToDataContract(CustomerWohnhilfeBereichBundDC pDataContract, bool doCommit)
|
||||
{
|
||||
pDataContract.Verbandszugehorigkeit = _Verbandszugehorigkeit;
|
||||
pDataContract.Geschlecht = _Geschlecht;
|
||||
pDataContract.AlterAmStichtag = _AlterAmStichtag;
|
||||
pDataContract.Haushaltsgrosse = _Haushaltsgrosse;
|
||||
pDataContract.BerichtseinheitID = _BerichtseinheitID;
|
||||
pDataContract.Unterbringungsart = _Unterbringungsart;
|
||||
pDataContract.OrtDerEinrichtung = _OrtDerEinrichtung;
|
||||
pDataContract.Angebot = _Angebot;
|
||||
|
||||
return pDataContract;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,239 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
|
||||
namespace BeWo.ViewModel.Wohnhilfe
|
||||
{
|
||||
public class CustomerWohnhilfeBereichEinkommenUndArbeitVM : AbstractDCMapperVM<CustomerWohnhilfeBereichEinkommenUndArbeitDC>
|
||||
{
|
||||
private Einkommenssituation _BeginnEinkommenssituation;
|
||||
private Einkommenssituation _EndeEinkommenssituation;
|
||||
private AufstockungEinkommen _BeginnAufstockungEinkommen;
|
||||
private AufstockungEinkommen _EndeAufstockungEinkommen;
|
||||
private WohnhilfeBoolData _BeginnEigenesBankkonto;
|
||||
private WohnhilfeBoolData _EndeEigenesBankkonto;
|
||||
private WohnhilfeBoolData _Uberschuldung;
|
||||
private Berufsabschluss _Berufsabschluss;
|
||||
private WohnhilfeBoolData _ErwerbsfahigkeitSinnSGB;
|
||||
private Beschaftigungsstatus _BeginnBeschaftigungsstatus;
|
||||
private Beschaftigungsstatus _EndeBeschaftigungsstatus;
|
||||
private DauerArbeitslosigkeit _DauerArbeitslosigkeit;
|
||||
|
||||
public CustomerWohnhilfeBereichEinkommenUndArbeitVM(CustomerWohnhilfeBereichEinkommenUndArbeitDC dc) : base(dc, dc.Oid == null)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public IEnumerable<WohnhilfeBoolData> WohnhilfeBoolDataTypes => Utils.GetAllEnumValues<WohnhilfeBoolData>();
|
||||
public IEnumerable<Einkommenssituation> EinkommenssituationTypes => Utils.GetAllEnumValues<Einkommenssituation>();
|
||||
public IEnumerable<AufstockungEinkommen> AufstockungEinkommenTypes => Utils.GetAllEnumValues<AufstockungEinkommen>();
|
||||
public IEnumerable<Berufsabschluss> BerufsschulabschlussTypes => Utils.GetAllEnumValues<Berufsabschluss>();
|
||||
public IEnumerable<Beschaftigungsstatus> BeschaftigungsstatusTypes => Utils.GetAllEnumValues<Beschaftigungsstatus>();
|
||||
public IEnumerable<DauerArbeitslosigkeit> DauerArbeitslosigkeitTypes => Utils.GetAllEnumValues<DauerArbeitslosigkeit>();
|
||||
|
||||
public Einkommenssituation BeginnEinkommenssituation
|
||||
{
|
||||
get { return _BeginnEinkommenssituation; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BeginnEinkommenssituation, value))
|
||||
return;
|
||||
|
||||
_BeginnEinkommenssituation = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BeginnEinkommenssituation, value), nameof(BeginnEinkommenssituation));
|
||||
FirePropertyChanged(nameof(BeginnEinkommenssituation));
|
||||
}
|
||||
}
|
||||
|
||||
public Einkommenssituation EndeEinkommenssituation
|
||||
{
|
||||
get { return _EndeEinkommenssituation; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EndeEinkommenssituation, value))
|
||||
return;
|
||||
|
||||
_EndeEinkommenssituation = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EndeEinkommenssituation, value), nameof(EndeEinkommenssituation));
|
||||
FirePropertyChanged(nameof(EndeEinkommenssituation));
|
||||
}
|
||||
}
|
||||
|
||||
public AufstockungEinkommen BeginnAufstockungEinkommen
|
||||
{
|
||||
get { return _BeginnAufstockungEinkommen; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BeginnAufstockungEinkommen, value))
|
||||
return;
|
||||
|
||||
_BeginnAufstockungEinkommen = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BeginnAufstockungEinkommen, value), nameof(BeginnAufstockungEinkommen));
|
||||
FirePropertyChanged(nameof(BeginnAufstockungEinkommen));
|
||||
}
|
||||
}
|
||||
|
||||
public AufstockungEinkommen EndeAufstockungEinkommen
|
||||
{
|
||||
get { return _EndeAufstockungEinkommen; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EndeAufstockungEinkommen, value))
|
||||
return;
|
||||
|
||||
_EndeAufstockungEinkommen = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EndeAufstockungEinkommen, value), nameof(EndeAufstockungEinkommen));
|
||||
FirePropertyChanged(nameof(EndeAufstockungEinkommen));
|
||||
}
|
||||
}
|
||||
|
||||
public WohnhilfeBoolData BeginnEigenesBankkonto
|
||||
{
|
||||
get { return _BeginnEigenesBankkonto; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BeginnEigenesBankkonto, value))
|
||||
return;
|
||||
|
||||
_BeginnEigenesBankkonto = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BeginnEigenesBankkonto, value), nameof(BeginnEigenesBankkonto));
|
||||
FirePropertyChanged(nameof(BeginnEigenesBankkonto));
|
||||
}
|
||||
}
|
||||
|
||||
public WohnhilfeBoolData EndeEigenesBankkonto
|
||||
{
|
||||
get { return _EndeEigenesBankkonto; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EndeEigenesBankkonto, value))
|
||||
return;
|
||||
|
||||
_EndeEigenesBankkonto = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EndeEigenesBankkonto, value), nameof(EndeEigenesBankkonto));
|
||||
FirePropertyChanged(nameof(EndeEigenesBankkonto));
|
||||
}
|
||||
}
|
||||
|
||||
public WohnhilfeBoolData Uberschuldung
|
||||
{
|
||||
get { return _Uberschuldung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Uberschuldung, value))
|
||||
return;
|
||||
|
||||
_Uberschuldung = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Uberschuldung, value), nameof(Uberschuldung));
|
||||
FirePropertyChanged(nameof(Uberschuldung));
|
||||
}
|
||||
}
|
||||
|
||||
public Berufsabschluss Berufsabschluss
|
||||
{
|
||||
get { return _Berufsabschluss; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Berufsabschluss, value))
|
||||
return;
|
||||
|
||||
_Berufsabschluss = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Berufsabschluss, value), nameof(Berufsabschluss));
|
||||
FirePropertyChanged(nameof(Berufsabschluss));
|
||||
}
|
||||
}
|
||||
|
||||
public WohnhilfeBoolData ErwerbsfahigkeitSinnSGB
|
||||
{
|
||||
get { return _ErwerbsfahigkeitSinnSGB; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_ErwerbsfahigkeitSinnSGB, value))
|
||||
return;
|
||||
|
||||
_ErwerbsfahigkeitSinnSGB = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.ErwerbsfahigkeitSinnSGB, value), nameof(ErwerbsfahigkeitSinnSGB));
|
||||
FirePropertyChanged(nameof(ErwerbsfahigkeitSinnSGB));
|
||||
}
|
||||
}
|
||||
|
||||
public Beschaftigungsstatus BeginnBeschaftigungsstatus
|
||||
{
|
||||
get { return _BeginnBeschaftigungsstatus; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BeginnBeschaftigungsstatus, value))
|
||||
return;
|
||||
|
||||
_BeginnBeschaftigungsstatus = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BeginnBeschaftigungsstatus, value), nameof(BeginnBeschaftigungsstatus));
|
||||
FirePropertyChanged(nameof(BeginnBeschaftigungsstatus));
|
||||
}
|
||||
}
|
||||
|
||||
public Beschaftigungsstatus EndeBeschaftigungsstatus
|
||||
{
|
||||
get { return _EndeBeschaftigungsstatus; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EndeBeschaftigungsstatus, value))
|
||||
return;
|
||||
|
||||
_EndeBeschaftigungsstatus = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EndeBeschaftigungsstatus, value), nameof(EndeBeschaftigungsstatus));
|
||||
FirePropertyChanged(nameof(EndeBeschaftigungsstatus));
|
||||
}
|
||||
}
|
||||
|
||||
public DauerArbeitslosigkeit DauerArbeitslosigkeit
|
||||
{
|
||||
get { return _DauerArbeitslosigkeit; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_DauerArbeitslosigkeit, value))
|
||||
return;
|
||||
|
||||
_DauerArbeitslosigkeit = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.DauerArbeitslosigkeit, value), nameof(DauerArbeitslosigkeit));
|
||||
FirePropertyChanged(nameof(DauerArbeitslosigkeit));
|
||||
}
|
||||
}
|
||||
|
||||
protected override void InitByDataContract(CustomerWohnhilfeBereichEinkommenUndArbeitDC pDataContract)
|
||||
{
|
||||
_BeginnEinkommenssituation = pDataContract.BeginnEinkommenssituation;
|
||||
_EndeEinkommenssituation = pDataContract.EndeEinkommenssituation;
|
||||
_BeginnAufstockungEinkommen = pDataContract.BeginnAufstockungEinkommen;
|
||||
_EndeAufstockungEinkommen = pDataContract.EndeAufstockungEinkommen;
|
||||
_BeginnEigenesBankkonto = pDataContract.BeginnEigenesBankkonto;
|
||||
_EndeEigenesBankkonto = pDataContract.EndeEigenesBankkonto;
|
||||
_Uberschuldung = pDataContract.Uberschuldung;
|
||||
_Berufsabschluss = pDataContract.Berufsabschluss;
|
||||
_ErwerbsfahigkeitSinnSGB = pDataContract.ErwerbsfahigkeitSinnSGB;
|
||||
_BeginnBeschaftigungsstatus = pDataContract.BeginnBeschaftigungsstatus;
|
||||
_EndeBeschaftigungsstatus = pDataContract.EndeBeschaftigungsstatus;
|
||||
_DauerArbeitslosigkeit = pDataContract.DauerArbeitslosigkeit;
|
||||
}
|
||||
|
||||
protected override CustomerWohnhilfeBereichEinkommenUndArbeitDC MapToDataContract(CustomerWohnhilfeBereichEinkommenUndArbeitDC pDataContract, bool doCommit)
|
||||
{
|
||||
pDataContract.BeginnEinkommenssituation = _BeginnEinkommenssituation;
|
||||
pDataContract.EndeEinkommenssituation = _EndeEinkommenssituation;
|
||||
pDataContract.BeginnAufstockungEinkommen = _BeginnAufstockungEinkommen;
|
||||
pDataContract.EndeAufstockungEinkommen = _EndeAufstockungEinkommen;
|
||||
pDataContract.BeginnEigenesBankkonto = _BeginnEigenesBankkonto;
|
||||
pDataContract.EndeEigenesBankkonto = _EndeEigenesBankkonto;
|
||||
pDataContract.Uberschuldung = _Uberschuldung;
|
||||
pDataContract.Berufsabschluss = _Berufsabschluss;
|
||||
pDataContract.ErwerbsfahigkeitSinnSGB = _ErwerbsfahigkeitSinnSGB;
|
||||
pDataContract.BeginnBeschaftigungsstatus = _BeginnBeschaftigungsstatus;
|
||||
pDataContract.EndeBeschaftigungsstatus = _EndeBeschaftigungsstatus;
|
||||
pDataContract.DauerArbeitslosigkeit = _DauerArbeitslosigkeit;
|
||||
|
||||
return pDataContract;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,355 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
|
||||
namespace BeWo.ViewModel.Wohnhilfe
|
||||
{
|
||||
public class CustomerWohnhilfeBereichSozialeKontakteVM : AbstractDCMapperVM<CustomerWohnhilfeBereichSozialeKontakteDC>
|
||||
{
|
||||
private WohnhilfeBoolData _BeginnSozialeKontakte;
|
||||
private bool _BeginnKontaktPartner;
|
||||
private bool _BeginnKontaktMindKinder;
|
||||
private bool _BeginnKontaktVolljahrKinderElternVerwandten;
|
||||
private bool _BeginnKontaktFreundenBekannten;
|
||||
private bool _BeginnKontaktSelbsthilfe;
|
||||
private bool _BeginnKontaktSonstige;
|
||||
private WohnhilfeBoolData _EndeSozialeKontakte;
|
||||
private bool _EndeKontaktPartner;
|
||||
private bool _EndeKontaktMindKinder;
|
||||
private bool _EndeKontaktVolljahrKinderElternVerwandten;
|
||||
private bool _EndeKontaktFreundenBekannten;
|
||||
private bool _EndeKontaktSelbsthilfe;
|
||||
private bool _EndeKontaktSonstige;
|
||||
private Krankenversicherung _BeginnKrankenversicherung;
|
||||
private Krankenversicherung _EndeKrankenversicherung;
|
||||
private KontaktArzt _BeginnKontaktArzt;
|
||||
private KontaktArzt _EndeKontaktArzt;
|
||||
private WohnhilfeBoolData _VorlageSchwerbehindertenausweises;
|
||||
|
||||
public CustomerWohnhilfeBereichSozialeKontakteVM(CustomerWohnhilfeBereichSozialeKontakteDC dc) : base(dc, dc.Oid == null)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public IEnumerable<WohnhilfeBoolData> WohnhilfeBoolDataTypes => Utils.GetAllEnumValues<WohnhilfeBoolData>();
|
||||
public IEnumerable<Krankenversicherung> KrankenversicherungTypes => Utils.GetAllEnumValues<Krankenversicherung>();
|
||||
public IEnumerable<KontaktArzt> KontaktArztTypes => Utils.GetAllEnumValues<KontaktArzt>();
|
||||
|
||||
public WohnhilfeBoolData BeginnSozialeKontakte
|
||||
{
|
||||
get { return _BeginnSozialeKontakte; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BeginnSozialeKontakte, value))
|
||||
return;
|
||||
|
||||
_BeginnSozialeKontakte = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BeginnSozialeKontakte, value), nameof(BeginnSozialeKontakte));
|
||||
FirePropertyChanged(nameof(BeginnSozialeKontakte));
|
||||
}
|
||||
}
|
||||
|
||||
public bool BeginnKontaktPartner
|
||||
{
|
||||
get { return _BeginnKontaktPartner; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BeginnKontaktPartner, value))
|
||||
return;
|
||||
|
||||
_BeginnKontaktPartner = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BeginnKontaktPartner, value), nameof(BeginnKontaktPartner));
|
||||
FirePropertyChanged(nameof(BeginnKontaktPartner));
|
||||
}
|
||||
}
|
||||
|
||||
public bool BeginnKontaktMindKinder
|
||||
{
|
||||
get { return _BeginnKontaktMindKinder; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BeginnKontaktMindKinder, value))
|
||||
return;
|
||||
|
||||
_BeginnKontaktMindKinder = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BeginnKontaktMindKinder, value), nameof(BeginnKontaktMindKinder));
|
||||
FirePropertyChanged(nameof(BeginnKontaktMindKinder));
|
||||
}
|
||||
}
|
||||
|
||||
public bool BeginnKontaktVolljahrKinderElternVerwandten
|
||||
{
|
||||
get { return _BeginnKontaktVolljahrKinderElternVerwandten; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BeginnKontaktVolljahrKinderElternVerwandten, value))
|
||||
return;
|
||||
|
||||
_BeginnKontaktVolljahrKinderElternVerwandten = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BeginnKontaktVolljahrKinderElternVerwandten, value), nameof(BeginnKontaktVolljahrKinderElternVerwandten));
|
||||
FirePropertyChanged(nameof(BeginnKontaktVolljahrKinderElternVerwandten));
|
||||
}
|
||||
}
|
||||
|
||||
public bool BeginnKontaktFreundenBekannten
|
||||
{
|
||||
get { return _BeginnKontaktFreundenBekannten; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BeginnKontaktFreundenBekannten, value))
|
||||
return;
|
||||
|
||||
_BeginnKontaktFreundenBekannten = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BeginnKontaktFreundenBekannten, value), nameof(BeginnKontaktFreundenBekannten));
|
||||
FirePropertyChanged(nameof(BeginnKontaktFreundenBekannten));
|
||||
}
|
||||
}
|
||||
|
||||
public bool BeginnKontaktSelbsthilfe
|
||||
{
|
||||
get { return _BeginnKontaktSelbsthilfe; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BeginnKontaktSelbsthilfe, value))
|
||||
return;
|
||||
|
||||
_BeginnKontaktSelbsthilfe = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BeginnKontaktSelbsthilfe, value), nameof(BeginnKontaktSelbsthilfe));
|
||||
FirePropertyChanged(nameof(BeginnKontaktSelbsthilfe));
|
||||
}
|
||||
}
|
||||
|
||||
public bool BeginnKontaktSonstige
|
||||
{
|
||||
get { return _BeginnKontaktSonstige; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BeginnKontaktSonstige, value))
|
||||
return;
|
||||
|
||||
_BeginnKontaktSonstige = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BeginnKontaktSonstige, value), nameof(BeginnKontaktSonstige));
|
||||
FirePropertyChanged(nameof(BeginnKontaktSonstige));
|
||||
}
|
||||
}
|
||||
|
||||
public WohnhilfeBoolData EndeSozialeKontakte
|
||||
{
|
||||
get { return _EndeSozialeKontakte; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EndeSozialeKontakte, value))
|
||||
return;
|
||||
|
||||
_EndeSozialeKontakte = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EndeSozialeKontakte, value), nameof(EndeSozialeKontakte));
|
||||
FirePropertyChanged(nameof(EndeSozialeKontakte));
|
||||
}
|
||||
}
|
||||
|
||||
public bool EndeKontaktPartner
|
||||
{
|
||||
get { return _EndeKontaktPartner; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EndeKontaktPartner, value))
|
||||
return;
|
||||
|
||||
_EndeKontaktPartner = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EndeKontaktPartner, value), nameof(EndeKontaktPartner));
|
||||
FirePropertyChanged(nameof(EndeKontaktPartner));
|
||||
}
|
||||
}
|
||||
|
||||
public bool EndeKontaktMindKinder
|
||||
{
|
||||
get { return _EndeKontaktMindKinder; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EndeKontaktMindKinder, value))
|
||||
return;
|
||||
|
||||
_EndeKontaktMindKinder = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EndeKontaktMindKinder, value), nameof(EndeKontaktMindKinder));
|
||||
FirePropertyChanged(nameof(EndeKontaktMindKinder));
|
||||
}
|
||||
}
|
||||
|
||||
public bool EndeKontaktVolljahrKinderElternVerwandten
|
||||
{
|
||||
get { return _EndeKontaktVolljahrKinderElternVerwandten; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EndeKontaktVolljahrKinderElternVerwandten, value))
|
||||
return;
|
||||
|
||||
_EndeKontaktVolljahrKinderElternVerwandten = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EndeKontaktVolljahrKinderElternVerwandten, value), nameof(EndeKontaktVolljahrKinderElternVerwandten));
|
||||
FirePropertyChanged(nameof(EndeKontaktVolljahrKinderElternVerwandten));
|
||||
}
|
||||
}
|
||||
|
||||
public bool EndeKontaktFreundenBekannten
|
||||
{
|
||||
get { return _EndeKontaktFreundenBekannten; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EndeKontaktFreundenBekannten, value))
|
||||
return;
|
||||
|
||||
_EndeKontaktFreundenBekannten = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EndeKontaktFreundenBekannten, value), nameof(EndeKontaktFreundenBekannten));
|
||||
FirePropertyChanged(nameof(EndeKontaktFreundenBekannten));
|
||||
}
|
||||
}
|
||||
|
||||
public bool EndeKontaktSelbsthilfe
|
||||
{
|
||||
get { return _EndeKontaktSelbsthilfe; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EndeKontaktSelbsthilfe, value))
|
||||
return;
|
||||
|
||||
_EndeKontaktSelbsthilfe = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EndeKontaktSelbsthilfe, value), nameof(EndeKontaktSelbsthilfe));
|
||||
FirePropertyChanged(nameof(EndeKontaktSelbsthilfe));
|
||||
}
|
||||
}
|
||||
|
||||
public bool EndeKontaktSonstige
|
||||
{
|
||||
get { return _EndeKontaktSonstige; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EndeKontaktSonstige, value))
|
||||
return;
|
||||
|
||||
_EndeKontaktSonstige = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EndeKontaktSonstige, value), nameof(EndeKontaktSonstige));
|
||||
FirePropertyChanged(nameof(EndeKontaktSonstige));
|
||||
}
|
||||
}
|
||||
|
||||
public Krankenversicherung BeginnKrankenversicherung
|
||||
{
|
||||
get { return _BeginnKrankenversicherung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BeginnKrankenversicherung, value))
|
||||
return;
|
||||
|
||||
_BeginnKrankenversicherung = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BeginnKrankenversicherung, value), nameof(BeginnKrankenversicherung));
|
||||
FirePropertyChanged(nameof(BeginnKrankenversicherung));
|
||||
}
|
||||
}
|
||||
|
||||
public Krankenversicherung EndeKrankenversicherung
|
||||
{
|
||||
get { return _EndeKrankenversicherung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EndeKrankenversicherung, value))
|
||||
return;
|
||||
|
||||
_EndeKrankenversicherung = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EndeKrankenversicherung, value), nameof(EndeKrankenversicherung));
|
||||
FirePropertyChanged(nameof(EndeKrankenversicherung));
|
||||
}
|
||||
}
|
||||
|
||||
public KontaktArzt BeginnKontaktArzt
|
||||
{
|
||||
get { return _BeginnKontaktArzt; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BeginnKontaktArzt, value))
|
||||
return;
|
||||
|
||||
_BeginnKontaktArzt = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BeginnKontaktArzt, value), nameof(BeginnKontaktArzt));
|
||||
FirePropertyChanged(nameof(BeginnKontaktArzt));
|
||||
}
|
||||
}
|
||||
|
||||
public KontaktArzt EndeKontaktArzt
|
||||
{
|
||||
get { return _EndeKontaktArzt; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EndeKontaktArzt, value))
|
||||
return;
|
||||
|
||||
_EndeKontaktArzt = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EndeKontaktArzt, value), nameof(EndeKontaktArzt));
|
||||
FirePropertyChanged(nameof(EndeKontaktArzt));
|
||||
}
|
||||
}
|
||||
|
||||
public WohnhilfeBoolData VorlageSchwerbehindertenausweises
|
||||
{
|
||||
get { return _VorlageSchwerbehindertenausweises; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_VorlageSchwerbehindertenausweises, value))
|
||||
return;
|
||||
|
||||
_VorlageSchwerbehindertenausweises = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.VorlageSchwerbehindertenausweises, value), nameof(VorlageSchwerbehindertenausweises));
|
||||
FirePropertyChanged(nameof(VorlageSchwerbehindertenausweises));
|
||||
}
|
||||
}
|
||||
|
||||
protected override void InitByDataContract(CustomerWohnhilfeBereichSozialeKontakteDC pDataContract)
|
||||
{
|
||||
_BeginnSozialeKontakte = pDataContract.BeginnSozialeKontakte;
|
||||
_BeginnKontaktPartner = pDataContract.BeginnKontaktPartner;
|
||||
_BeginnKontaktMindKinder = pDataContract.BeginnKontaktMindKinder;
|
||||
_BeginnKontaktVolljahrKinderElternVerwandten = pDataContract.BeginnKontaktVolljahrKinderElternVerwandten;
|
||||
_BeginnKontaktFreundenBekannten = pDataContract.BeginnKontaktFreundenBekannten;
|
||||
_BeginnKontaktSelbsthilfe = pDataContract.BeginnKontaktSelbsthilfe;
|
||||
_BeginnKontaktSonstige = pDataContract.BeginnKontaktSonstige;
|
||||
_EndeSozialeKontakte = pDataContract.EndeSozialeKontakte;
|
||||
_EndeKontaktPartner = pDataContract.EndeKontaktPartner;
|
||||
_EndeKontaktMindKinder = pDataContract.EndeKontaktMindKinder;
|
||||
_EndeKontaktVolljahrKinderElternVerwandten = pDataContract.EndeKontaktVolljahrKinderElternVerwandten;
|
||||
_EndeKontaktFreundenBekannten = pDataContract.EndeKontaktFreundenBekannten;
|
||||
_EndeKontaktSelbsthilfe = pDataContract.EndeKontaktSelbsthilfe;
|
||||
_EndeKontaktSonstige = pDataContract.EndeKontaktSonstige;
|
||||
_BeginnKrankenversicherung = pDataContract.BeginnKrankenversicherung;
|
||||
_EndeKrankenversicherung = pDataContract.EndeKrankenversicherung;
|
||||
_BeginnKontaktArzt = pDataContract.BeginnKontaktArzt;
|
||||
_EndeKontaktArzt = pDataContract.EndeKontaktArzt;
|
||||
_VorlageSchwerbehindertenausweises = pDataContract.VorlageSchwerbehindertenausweises;
|
||||
}
|
||||
|
||||
protected override CustomerWohnhilfeBereichSozialeKontakteDC MapToDataContract(CustomerWohnhilfeBereichSozialeKontakteDC pDataContract, bool doCommit)
|
||||
{
|
||||
pDataContract.BeginnSozialeKontakte = _BeginnSozialeKontakte;
|
||||
pDataContract.BeginnKontaktPartner = _BeginnKontaktPartner;
|
||||
pDataContract.BeginnKontaktMindKinder = _BeginnKontaktMindKinder;
|
||||
pDataContract.BeginnKontaktVolljahrKinderElternVerwandten = _BeginnKontaktVolljahrKinderElternVerwandten;
|
||||
pDataContract.BeginnKontaktFreundenBekannten = _BeginnKontaktFreundenBekannten;
|
||||
pDataContract.BeginnKontaktSelbsthilfe = _BeginnKontaktSelbsthilfe;
|
||||
pDataContract.BeginnKontaktSonstige = _BeginnKontaktSonstige;
|
||||
pDataContract.EndeSozialeKontakte = _EndeSozialeKontakte;
|
||||
pDataContract.EndeKontaktPartner = _EndeKontaktPartner;
|
||||
pDataContract.EndeKontaktMindKinder = _EndeKontaktMindKinder;
|
||||
pDataContract.EndeKontaktVolljahrKinderElternVerwandten = _EndeKontaktVolljahrKinderElternVerwandten;
|
||||
pDataContract.EndeKontaktFreundenBekannten = _EndeKontaktFreundenBekannten;
|
||||
pDataContract.EndeKontaktSelbsthilfe = _EndeKontaktSelbsthilfe;
|
||||
pDataContract.EndeKontaktSonstige = _EndeKontaktSonstige;
|
||||
pDataContract.BeginnKrankenversicherung = _BeginnKrankenversicherung;
|
||||
pDataContract.EndeKrankenversicherung = _EndeKrankenversicherung;
|
||||
pDataContract.BeginnKontaktArzt = _BeginnKontaktArzt;
|
||||
pDataContract.EndeKontaktArzt = _EndeKontaktArzt;
|
||||
pDataContract.VorlageSchwerbehindertenausweises = _VorlageSchwerbehindertenausweises;
|
||||
|
||||
return pDataContract;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,292 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
|
||||
namespace BeWo.ViewModel.Wohnhilfe
|
||||
{
|
||||
public class CustomerWohnhilfeBereichSozialstrukturVM : AbstractDCMapperVM<CustomerWohnhilfeBereichSozialstrukturDC>
|
||||
{
|
||||
private Bundesland? _Bundesland;
|
||||
private bool _IsWohnungslosenhilfe;
|
||||
private ArtDesHilfeangebots? _ArtDesHilfeangebots;
|
||||
private DateTime? _Betreuungsbeginn;
|
||||
private DateTime? _Betreuungsende;
|
||||
private int? _BetreuungsdauerInTagen;
|
||||
private ArtDerBeendigung _ArtDerBeendigung;
|
||||
private DateTime? _Geburtsdatum;
|
||||
private Geschlechtidentitat _Geschlechtidentitat;
|
||||
private Staatsangehorigkeit? _Staatsangehorigkeit;
|
||||
private Aufenthaltsstatus _Aufenthaltsstatus;
|
||||
private WohnhilfeBoolData _Migrationshintergrund;
|
||||
private HochsterSchulabschluss _HochsterSchulabschluss;
|
||||
private Haushaltsstruktur _Haushaltsstruktur;
|
||||
private WohnhilfeBoolData _EigeneMindKinderAuserhalbHaushaltsstruktur;
|
||||
|
||||
public CustomerWohnhilfeBereichSozialstrukturVM(CustomerWohnhilfeBereichSozialstrukturDC dc) : base(dc, dc.Oid == null)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public IEnumerable<WohnhilfeBoolData> WohnhilfeBoolDataTypes => Utils.GetAllEnumValues<WohnhilfeBoolData>();
|
||||
public IEnumerable<Bundesland> BundeslandTypes => Utils.GetAllEnumValues<Bundesland>();
|
||||
public IEnumerable<ArtDesHilfeangebots> ArtDesHilfeangebotsTypes => Utils.GetAllEnumValues<ArtDesHilfeangebots>();
|
||||
public IEnumerable<Geschlechtidentitat> GeschlechtidentitatTypes => Utils.GetAllEnumValues<Geschlechtidentitat>();
|
||||
public IEnumerable<Staatsangehorigkeit> StaatsangehorigkeitTypes => Utils.GetAllEnumValues<Staatsangehorigkeit>();
|
||||
public IEnumerable<Aufenthaltsstatus> AufenthaltsstatusTypes => Utils.GetAllEnumValues<Aufenthaltsstatus>();
|
||||
public IEnumerable<HochsterSchulabschluss> HochsterSchulabschlussTypes => Utils.GetAllEnumValues<HochsterSchulabschluss>();
|
||||
public IEnumerable<Haushaltsstruktur> HaushaltsstrukturTypes => Utils.GetAllEnumValues<Haushaltsstruktur>();
|
||||
|
||||
public Bundesland? Bundesland
|
||||
{
|
||||
get { return _Bundesland; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Bundesland, value))
|
||||
return;
|
||||
|
||||
_Bundesland = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Bundesland, value), nameof(Bundesland));
|
||||
FirePropertyChanged(nameof(Bundesland));
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsWohnungslosenhilfe
|
||||
{
|
||||
get { return _IsWohnungslosenhilfe; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_IsWohnungslosenhilfe, value))
|
||||
return;
|
||||
|
||||
_IsWohnungslosenhilfe = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.IsWohnungslosenhilfe, value), nameof(IsWohnungslosenhilfe));
|
||||
FirePropertyChanged(nameof(IsWohnungslosenhilfe));
|
||||
}
|
||||
}
|
||||
|
||||
public ArtDesHilfeangebots? ArtDesHilfeangebots
|
||||
{
|
||||
get { return _ArtDesHilfeangebots; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_ArtDesHilfeangebots, value))
|
||||
return;
|
||||
|
||||
_ArtDesHilfeangebots = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.ArtDesHilfeangebots, value), nameof(ArtDesHilfeangebots));
|
||||
FirePropertyChanged(nameof(ArtDesHilfeangebots));
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime? Betreuungsbeginn
|
||||
{
|
||||
get { return _Betreuungsbeginn; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Betreuungsbeginn, value))
|
||||
return;
|
||||
|
||||
_Betreuungsbeginn = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Betreuungsbeginn, value), nameof(Betreuungsbeginn));
|
||||
FirePropertyChanged(nameof(Betreuungsbeginn));
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime? Betreuungsende
|
||||
{
|
||||
get { return _Betreuungsende; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Betreuungsende, value))
|
||||
return;
|
||||
|
||||
_Betreuungsende = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Betreuungsende, value), nameof(Betreuungsende));
|
||||
FirePropertyChanged(nameof(Betreuungsende));
|
||||
}
|
||||
}
|
||||
|
||||
public int? BetreuungsdauerInTagen
|
||||
{
|
||||
get { return _BetreuungsdauerInTagen; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_BetreuungsdauerInTagen, value))
|
||||
return;
|
||||
|
||||
_BetreuungsdauerInTagen = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.BetreuungsdauerInTagen, value), nameof(BetreuungsdauerInTagen));
|
||||
FirePropertyChanged(nameof(BetreuungsdauerInTagen));
|
||||
}
|
||||
}
|
||||
|
||||
public ArtDerBeendigung ArtDerBeendigung
|
||||
{
|
||||
get { return _ArtDerBeendigung; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_ArtDerBeendigung, value))
|
||||
return;
|
||||
|
||||
_ArtDerBeendigung = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.ArtDerBeendigung, value), nameof(ArtDerBeendigung));
|
||||
FirePropertyChanged(nameof(ArtDerBeendigung));
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime? Geburtsdatum
|
||||
{
|
||||
get { return _Geburtsdatum; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Geburtsdatum, value))
|
||||
return;
|
||||
|
||||
_Geburtsdatum = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Geburtsdatum, value), nameof(Geburtsdatum));
|
||||
FirePropertyChanged(nameof(Geburtsdatum));
|
||||
}
|
||||
}
|
||||
|
||||
public Geschlechtidentitat Geschlechtidentitat
|
||||
{
|
||||
get { return _Geschlechtidentitat; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Geschlechtidentitat, value))
|
||||
return;
|
||||
|
||||
_Geschlechtidentitat = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Geschlechtidentitat, value), nameof(Geschlechtidentitat));
|
||||
FirePropertyChanged(nameof(Geschlechtidentitat));
|
||||
}
|
||||
}
|
||||
|
||||
public Staatsangehorigkeit? Staatsangehorigkeit
|
||||
{
|
||||
get { return _Staatsangehorigkeit; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Staatsangehorigkeit, value))
|
||||
return;
|
||||
|
||||
_Staatsangehorigkeit = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Staatsangehorigkeit, value), nameof(Staatsangehorigkeit));
|
||||
FirePropertyChanged(nameof(Staatsangehorigkeit));
|
||||
}
|
||||
}
|
||||
|
||||
public Aufenthaltsstatus Aufenthaltsstatus
|
||||
{
|
||||
get { return _Aufenthaltsstatus; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Aufenthaltsstatus, value))
|
||||
return;
|
||||
|
||||
_Aufenthaltsstatus = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Aufenthaltsstatus, value), nameof(Aufenthaltsstatus));
|
||||
FirePropertyChanged(nameof(Aufenthaltsstatus));
|
||||
}
|
||||
}
|
||||
|
||||
public WohnhilfeBoolData Migrationshintergrund
|
||||
{
|
||||
get { return _Migrationshintergrund; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Migrationshintergrund, value))
|
||||
return;
|
||||
|
||||
_Migrationshintergrund = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Migrationshintergrund, value), nameof(Migrationshintergrund));
|
||||
FirePropertyChanged(nameof(Migrationshintergrund));
|
||||
}
|
||||
}
|
||||
|
||||
public HochsterSchulabschluss HochsterSchulabschluss
|
||||
{
|
||||
get { return _HochsterSchulabschluss; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_HochsterSchulabschluss, value))
|
||||
return;
|
||||
|
||||
_HochsterSchulabschluss = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.HochsterSchulabschluss, value), nameof(HochsterSchulabschluss));
|
||||
FirePropertyChanged(nameof(HochsterSchulabschluss));
|
||||
}
|
||||
}
|
||||
|
||||
public Haushaltsstruktur Haushaltsstruktur
|
||||
{
|
||||
get { return _Haushaltsstruktur; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_Haushaltsstruktur, value))
|
||||
return;
|
||||
|
||||
_Haushaltsstruktur = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Haushaltsstruktur, value), nameof(Haushaltsstruktur));
|
||||
FirePropertyChanged(nameof(Haushaltsstruktur));
|
||||
}
|
||||
}
|
||||
|
||||
public WohnhilfeBoolData EigeneMindKinderAuserhalbHaushaltsstruktur
|
||||
{
|
||||
get { return _EigeneMindKinderAuserhalbHaushaltsstruktur; }
|
||||
set
|
||||
{
|
||||
if (!AreDifferent(_EigeneMindKinderAuserhalbHaushaltsstruktur, value))
|
||||
return;
|
||||
|
||||
_EigeneMindKinderAuserhalbHaushaltsstruktur = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.EigeneMindKinderAuserhalbHaushaltsstruktur, value), nameof(EigeneMindKinderAuserhalbHaushaltsstruktur));
|
||||
FirePropertyChanged(nameof(EigeneMindKinderAuserhalbHaushaltsstruktur));
|
||||
}
|
||||
}
|
||||
|
||||
protected override void InitByDataContract(CustomerWohnhilfeBereichSozialstrukturDC pDataContract)
|
||||
{
|
||||
_Bundesland = pDataContract.Bundesland;
|
||||
_IsWohnungslosenhilfe = pDataContract.IsWohnungslosenhilfe;
|
||||
_ArtDesHilfeangebots = pDataContract.ArtDesHilfeangebots;
|
||||
_Betreuungsbeginn = pDataContract.Betreuungsbeginn;
|
||||
_Betreuungsende = pDataContract.Betreuungsende;
|
||||
_BetreuungsdauerInTagen = pDataContract.BetreuungsdauerInTagen;
|
||||
_ArtDerBeendigung = pDataContract.ArtDerBeendigung;
|
||||
_Geburtsdatum = pDataContract.Geburtsdatum;
|
||||
_Geschlechtidentitat = pDataContract.Geschlechtidentitat;
|
||||
_Staatsangehorigkeit = pDataContract.Staatsangehorigkeit;
|
||||
_Aufenthaltsstatus = pDataContract.Aufenthaltsstatus;
|
||||
_Migrationshintergrund = pDataContract.Migrationshintergrund;
|
||||
_HochsterSchulabschluss = pDataContract.HochsterSchulabschluss;
|
||||
_Haushaltsstruktur = pDataContract.Haushaltsstruktur;
|
||||
_EigeneMindKinderAuserhalbHaushaltsstruktur = pDataContract.EigeneMindKinderAuserhalbHaushaltsstruktur;
|
||||
}
|
||||
|
||||
protected override CustomerWohnhilfeBereichSozialstrukturDC MapToDataContract(CustomerWohnhilfeBereichSozialstrukturDC pDataContract, bool doCommit)
|
||||
{
|
||||
pDataContract.Bundesland = _Bundesland;
|
||||
pDataContract.IsWohnungslosenhilfe = _IsWohnungslosenhilfe;
|
||||
pDataContract.ArtDesHilfeangebots = _ArtDesHilfeangebots;
|
||||
pDataContract.Betreuungsbeginn = _Betreuungsbeginn;
|
||||
pDataContract.Betreuungsende = _Betreuungsende;
|
||||
pDataContract.BetreuungsdauerInTagen = _BetreuungsdauerInTagen;
|
||||
pDataContract.ArtDerBeendigung = _ArtDerBeendigung;
|
||||
pDataContract.Geburtsdatum = _Geburtsdatum;
|
||||
pDataContract.Geschlechtidentitat = _Geschlechtidentitat;
|
||||
pDataContract.Staatsangehorigkeit = _Staatsangehorigkeit;
|
||||
pDataContract.Aufenthaltsstatus = _Aufenthaltsstatus;
|
||||
pDataContract.Migrationshintergrund = _Migrationshintergrund;
|
||||
pDataContract.HochsterSchulabschluss = _HochsterSchulabschluss;
|
||||
pDataContract.Haushaltsstruktur = _Haushaltsstruktur;
|
||||
pDataContract.EigeneMindKinderAuserhalbHaushaltsstruktur = _EigeneMindKinderAuserhalbHaushaltsstruktur;
|
||||
|
||||
return pDataContract;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -925,10 +925,15 @@ namespace BS.Shared.Core
|
||||
dict.Add(Angebot.SonstigerStellen, "sonstiger Stellen");
|
||||
dict.Add(Angebot.TragerDerSozialhilfe, "überörtlichen Träger der Sozialhilfe");
|
||||
|
||||
dict.Add(SozialKontakte.Ja, "ja");
|
||||
dict.Add(SozialKontakte.KeineAngabe, "keine Angabe");
|
||||
dict.Add(SozialKontakte.Nein, "nein");
|
||||
dict.Add(SozialKontakte.NichtAbgefragt, "nicht angefragt");
|
||||
dict.Add(WohnhilfeBoolData.Ja, "ja");
|
||||
dict.Add(WohnhilfeBoolData.KeineAngabe, "keine Angabe");
|
||||
dict.Add(WohnhilfeBoolData.Nein, "nein");
|
||||
dict.Add(WohnhilfeBoolData.NichtAbgefragt, "nicht angefragt");
|
||||
|
||||
//dict.Add(SozialKontakte.Ja, "ja");
|
||||
//dict.Add(SozialKontakte.KeineAngabe, "keine Angabe");
|
||||
//dict.Add(SozialKontakte.Nein, "nein");
|
||||
//dict.Add(SozialKontakte.NichtAbgefragt, "nicht angefragt");
|
||||
|
||||
dict.Add(Krankenversicherung.JaEingeschrankt, "Ja, aber nur eingeschränkt");
|
||||
dict.Add(Krankenversicherung.JaUneingeschrankt, "Ja, in uneingeschränktem Maße");
|
||||
@@ -945,10 +950,10 @@ namespace BS.Shared.Core
|
||||
dict.Add(KontaktArzt.NichtAbgefragt, "nicht abgefragt");
|
||||
dict.Add(KontaktArzt.Ungeklart, "Ungeklärt");
|
||||
|
||||
dict.Add(VorlageSchwerbehindertenausweises.Ja, "ja");
|
||||
dict.Add(VorlageSchwerbehindertenausweises.KeineAngabe, "keine Angabe");
|
||||
dict.Add(VorlageSchwerbehindertenausweises.Nein, "nein");
|
||||
dict.Add(VorlageSchwerbehindertenausweises.NichtAbgefragt, "nicht angefragt");
|
||||
//dict.Add(VorlageSchwerbehindertenausweises.Ja, "ja");
|
||||
//dict.Add(VorlageSchwerbehindertenausweises.KeineAngabe, "keine Angabe");
|
||||
//dict.Add(VorlageSchwerbehindertenausweises.Nein, "nein");
|
||||
//dict.Add(VorlageSchwerbehindertenausweises.NichtAbgefragt, "nicht angefragt");
|
||||
|
||||
dict.Add(Einkommenssituation.EinkommenErwerbsBerufstatig, "Einkommen aus Erwerbs- oder Berufstätigkeit");
|
||||
dict.Add(Einkommenssituation.KeineAngabe, "keine Angabe");
|
||||
@@ -969,28 +974,28 @@ namespace BS.Shared.Core
|
||||
dict.Add(AufstockungEinkommen.KeineAufstockendeLeistungen, "keine aufstockenden Leistungen");
|
||||
dict.Add(AufstockungEinkommen.NichtAbgefragt, "nicht abgefragt");
|
||||
|
||||
dict.Add(EigenesBankkonto.Ja, "ja");
|
||||
dict.Add(EigenesBankkonto.KeineAngabe, "keine Angabe");
|
||||
dict.Add(EigenesBankkonto.Nein, "nein");
|
||||
dict.Add(EigenesBankkonto.NichtAbgefragt, "nicht angefragt");
|
||||
//dict.Add(EigenesBankkonto.Ja, "ja");
|
||||
//dict.Add(EigenesBankkonto.KeineAngabe, "keine Angabe");
|
||||
//dict.Add(EigenesBankkonto.Nein, "nein");
|
||||
//dict.Add(EigenesBankkonto.NichtAbgefragt, "nicht angefragt");
|
||||
|
||||
dict.Add(Uberschuldung.Ja, "ja");
|
||||
dict.Add(Uberschuldung.KeineAngabe, "keine Angabe");
|
||||
dict.Add(Uberschuldung.Nein, "nein");
|
||||
dict.Add(Uberschuldung.NichtAbgefragt, "nicht angefragt");
|
||||
//dict.Add(Uberschuldung.Ja, "ja");
|
||||
//dict.Add(Uberschuldung.KeineAngabe, "keine Angabe");
|
||||
//dict.Add(Uberschuldung.Nein, "nein");
|
||||
//dict.Add(Uberschuldung.NichtAbgefragt, "nicht angefragt");
|
||||
|
||||
dict.Add(Berufsschulabschluss.Anlernausbildung, "Anlernausbildung");
|
||||
dict.Add(Berufsschulabschluss.Ausbildung, "praxisbezogener Berufsabschluss");
|
||||
dict.Add(Berufsschulabschluss.Hochschule, "Fachschul- oder (Fach-) Hochschulbezogener Berufsabschluss");
|
||||
dict.Add(Berufsschulabschluss.Keine, "keine abgeschlossene berufliche Ausbildung");
|
||||
dict.Add(Berufsschulabschluss.KeineAngabe, "keine Angabe");
|
||||
dict.Add(Berufsschulabschluss.NichtAbgefragt, "nicht abgefragt");
|
||||
dict.Add(Berufsschulabschluss.SonstigerAbschluss, "sonstiger Abschluss");
|
||||
dict.Add(Berufsabschluss.Anlernausbildung, "Anlernausbildung");
|
||||
dict.Add(Berufsabschluss.Ausbildung, "praxisbezogener Berufsabschluss");
|
||||
dict.Add(Berufsabschluss.Hochschule, "Fachschul- oder (Fach-) Hochschulbezogener Berufsabschluss");
|
||||
dict.Add(Berufsabschluss.Keine, "keine abgeschlossene berufliche Ausbildung");
|
||||
dict.Add(Berufsabschluss.KeineAngabe, "keine Angabe");
|
||||
dict.Add(Berufsabschluss.NichtAbgefragt, "nicht abgefragt");
|
||||
dict.Add(Berufsabschluss.SonstigerAbschluss, "sonstiger Abschluss");
|
||||
|
||||
dict.Add(ErwerbsfahigkeitSinnSGB.Ja, "ja");
|
||||
dict.Add(ErwerbsfahigkeitSinnSGB.KeineAngabe, "keine Angabe");
|
||||
dict.Add(ErwerbsfahigkeitSinnSGB.Nein, "nein");
|
||||
dict.Add(ErwerbsfahigkeitSinnSGB.NichtAbgefragt, "nicht angefragt");
|
||||
//dict.Add(ErwerbsfahigkeitSinnSGB.Ja, "ja");
|
||||
//dict.Add(ErwerbsfahigkeitSinnSGB.KeineAngabe, "keine Angabe");
|
||||
//dict.Add(ErwerbsfahigkeitSinnSGB.Nein, "nein");
|
||||
//dict.Add(ErwerbsfahigkeitSinnSGB.NichtAbgefragt, "nicht angefragt");
|
||||
|
||||
dict.Add(Beschaftigungsstatus.Arbeitslos, "arbeitslos");
|
||||
dict.Add(Beschaftigungsstatus.DritterArbeitsmarkt, "dritter Arbeitsmarkt");
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BS.Shared.DataContracts
|
||||
{
|
||||
public class CustomerWohnhilfeDC : BeWoDataContract
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -8,16 +8,16 @@ using System.Threading.Tasks;
|
||||
namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
{
|
||||
[DataContract]
|
||||
public class BereichBundDC : IDataContract
|
||||
public class CustomerWohnhilfeBereichBundDC : BeWoDataContract
|
||||
{
|
||||
[DataMember] public Verbandszugehorigkeit Verbandszugehorigkeit { get; set; }
|
||||
[DataMember] public Geschlecht Geschlecht { get; set; }
|
||||
[DataMember] public int AlterAmStichtag { get; set; }
|
||||
[DataMember] public int Haushaltsgrosse { get; set; }
|
||||
[DataMember] public long BundeseinheitID { get; set; }
|
||||
[DataMember] public Unterbringungsart Unterbringungsart { get; set; }
|
||||
[DataMember] public int OrtDerEinrichtung { get; set; }
|
||||
[DataMember] public Angebot Angebot { get; set; }
|
||||
[DataMember] public Verbandszugehorigkeit? Verbandszugehorigkeit { get; set; }
|
||||
[DataMember] public Geschlecht? Geschlecht { get; set; }
|
||||
[DataMember] public int? AlterAmStichtag { get; set; }
|
||||
[DataMember] public int? Haushaltsgrosse { get; set; }
|
||||
[DataMember] public long? BerichtseinheitID { get; set; }
|
||||
[DataMember] public Unterbringungsart? Unterbringungsart { get; set; }
|
||||
[DataMember] public int? OrtDerEinrichtung { get; set; }
|
||||
[DataMember] public Angebot? Angebot { get; set; }
|
||||
}
|
||||
|
||||
public enum Verbandszugehorigkeit
|
||||
@@ -8,17 +8,17 @@ using System.Threading.Tasks;
|
||||
namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
{
|
||||
[DataContract]
|
||||
public class BereichEinkommenUndArbeitDC : IDataContract
|
||||
public class CustomerWohnhilfeBereichEinkommenUndArbeitDC : BeWoDataContract
|
||||
{
|
||||
[DataMember] public Einkommenssituation BeginnEinkommenssituation { get; set; }
|
||||
[DataMember] public Einkommenssituation EndeEinkommenssituation { get; set; }
|
||||
[DataMember] public AufstockungEinkommen BeginnAufstockungEinkommen { get; set; }
|
||||
[DataMember] public AufstockungEinkommen EndeAufstockungEinkommen { get; set; }
|
||||
[DataMember] public EigenesBankkonto BeginnEigenesBankkonto{ get; set; }
|
||||
[DataMember] public EigenesBankkonto EndeEigenesBankkonto{ get; set; }
|
||||
[DataMember] public Uberschuldung Uberschuldung { get; set; }
|
||||
[DataMember] public Berufsschulabschluss Berufsschulabschluss { get; set; }
|
||||
[DataMember] public ErwerbsfahigkeitSinnSGB ErwerbsfahigkeitSinnSGB { get; set; }
|
||||
[DataMember] public WohnhilfeBoolData BeginnEigenesBankkonto { get; set; }
|
||||
[DataMember] public WohnhilfeBoolData EndeEigenesBankkonto { get; set; }
|
||||
[DataMember] public WohnhilfeBoolData Uberschuldung { get; set; }
|
||||
[DataMember] public Berufsabschluss Berufsabschluss { get; set; }
|
||||
[DataMember] public WohnhilfeBoolData ErwerbsfahigkeitSinnSGB { get; set; }
|
||||
[DataMember] public Beschaftigungsstatus BeginnBeschaftigungsstatus { get; set; }
|
||||
[DataMember] public Beschaftigungsstatus EndeBeschaftigungsstatus { get; set; }
|
||||
[DataMember] public DauerArbeitslosigkeit DauerArbeitslosigkeit { get; set; }
|
||||
@@ -49,23 +49,7 @@ namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
NichtAbgefragt = 0
|
||||
}
|
||||
|
||||
public enum EigenesBankkonto
|
||||
{
|
||||
Nein = 1,
|
||||
Ja = 2,
|
||||
KeineAngabe = 99,
|
||||
NichtAbgefragt = 0
|
||||
}
|
||||
|
||||
public enum Uberschuldung
|
||||
{
|
||||
Nein = 1,
|
||||
Ja = 2,
|
||||
KeineAngabe = 99,
|
||||
NichtAbgefragt = 0
|
||||
}
|
||||
|
||||
public enum Berufsschulabschluss
|
||||
public enum Berufsabschluss
|
||||
{
|
||||
Keine = 1,
|
||||
Anlernausbildung = 2,
|
||||
@@ -76,14 +60,6 @@ namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
NichtAbgefragt = 0
|
||||
}
|
||||
|
||||
public enum ErwerbsfahigkeitSinnSGB
|
||||
{
|
||||
Nein = 1,
|
||||
Ja = 2,
|
||||
KeineAngabe = 99,
|
||||
NichtAbgefragt = 0
|
||||
}
|
||||
|
||||
public enum Beschaftigungsstatus
|
||||
{
|
||||
Arbeitslos = 1,
|
||||
@@ -8,35 +8,27 @@ using System.Threading.Tasks;
|
||||
namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
{
|
||||
[DataContract]
|
||||
public class BereichSozialeKontakteDC : IDataContract
|
||||
public class CustomerWohnhilfeBereichSozialeKontakteDC : BeWoDataContract
|
||||
{
|
||||
[DataMember] public SozialKontakte BeginnSozialeKontakte { get; set; }
|
||||
[DataMember] public WohnhilfeBoolData BeginnSozialeKontakte { get; set; }
|
||||
[DataMember] public bool BeginnKontaktPartner { get; set; }
|
||||
[DataMember] public bool BeginnKontaktMindKinder { get; set; }
|
||||
[DataMember] public bool BeginnKontaktVolljahrKinderElternVerwandten { get; set; }
|
||||
[DataMember] public bool BeginnKontaktFreundenBekannten { get; set; }
|
||||
[DataMember] public bool BeginnKontaktSelbsthilfe { get; set; }
|
||||
[DataMember] public bool BeginnKontaktSonstige { get; set; }
|
||||
[DataMember] public SozialKontakte EndeSozialeKontakte { get; set; }
|
||||
[DataMember] public WohnhilfeBoolData EndeSozialeKontakte { get; set; }
|
||||
[DataMember] public bool EndeKontaktPartner { get; set; }
|
||||
[DataMember] public bool EndeKontaktMindKinder { get; set; }
|
||||
[DataMember] public bool EndeKontaktVolljahrKinderElternVerwandten { get; set; }
|
||||
[DataMember] public bool EndeKontaktFreundenBekannten { get; set; }
|
||||
[DataMember] public bool EndeKontaktSelbsthilfe { get; set; }
|
||||
[DataMember] public bool EndeKontaktSonstige { get; set; }
|
||||
[DataMember] public Krankenversicherung BeginnKrankenversicherung{ get; set; }
|
||||
[DataMember] public Krankenversicherung EndeKrankenversicherung{ get; set; }
|
||||
[DataMember] public KontaktArzt BeginnKontaktArzt{ get; set; }
|
||||
[DataMember] public KontaktArzt EndeKontaktArzt{ get; set; }
|
||||
[DataMember] public VorlageSchwerbehindertenausweises VorlageSchwerbehindertenausweises { get; set; }
|
||||
}
|
||||
|
||||
public enum SozialKontakte
|
||||
{
|
||||
Nein = 1,
|
||||
Ja = 2,
|
||||
KeineAngabe = 99,
|
||||
NichtAbgefragt = 0
|
||||
[DataMember] public Krankenversicherung BeginnKrankenversicherung { get; set; }
|
||||
[DataMember] public Krankenversicherung EndeKrankenversicherung { get; set; }
|
||||
[DataMember] public KontaktArzt BeginnKontaktArzt { get; set; }
|
||||
[DataMember] public KontaktArzt EndeKontaktArzt { get; set; }
|
||||
[DataMember] public WohnhilfeBoolData VorlageSchwerbehindertenausweises { get; set; }
|
||||
}
|
||||
|
||||
public enum Krankenversicherung
|
||||
@@ -59,12 +51,4 @@ namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
KeineAngabe = 99,
|
||||
NichtAbgefragt = 0
|
||||
}
|
||||
|
||||
public enum VorlageSchwerbehindertenausweises
|
||||
{
|
||||
Nein = 1,
|
||||
Ja = 2,
|
||||
KeineAngabe = 99,
|
||||
NichtAbgefragt = 0
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
||||
namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
{
|
||||
[DataContract]
|
||||
public class BereichSozialstrukturDC : IDataContract
|
||||
public class CustomerWohnhilfeBereichSozialstrukturDC : BeWoDataContract
|
||||
{
|
||||
[DataMember] public Bundesland? Bundesland { get; set; }
|
||||
[DataMember] public bool IsWohnungslosenhilfe { get; set; }
|
||||
@@ -17,14 +17,14 @@ namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
[DataMember] public DateTime? Betreuungsende { get; set; }
|
||||
[DataMember] public int? BetreuungsdauerInTagen { get; set; }
|
||||
[DataMember] public ArtDerBeendigung ArtDerBeendigung { get; set; }
|
||||
[DataMember] public DateTime Geburtsdatum { get; set; }
|
||||
[DataMember] public DateTime? Geburtsdatum { get; set; }
|
||||
[DataMember] public Geschlechtidentitat Geschlechtidentitat { get; set; }
|
||||
[DataMember] public Staatsangehorigkeit? Staatsangehorigkeit { get; set; }
|
||||
[DataMember] public Aufenthaltsstatus Aufenthaltsstatus { get; set; }
|
||||
[DataMember] public Migrationshintergrund Migrationshintergrund { get; set; }
|
||||
[DataMember] public WohnhilfeBoolData Migrationshintergrund { get; set; }
|
||||
[DataMember] public HochsterSchulabschluss HochsterSchulabschluss { get; set; }
|
||||
[DataMember] public Haushaltsstruktur Haushaltsstruktur { get; set; }
|
||||
[DataMember] public EigeneMindKinderAuserhalbHaushaltsstruktur EigeneMindKinderAuserhalbHaushaltsstruktur { get; set; }
|
||||
[DataMember] public WohnhilfeBoolData EigeneMindKinderAuserhalbHaushaltsstruktur { get; set; }
|
||||
}
|
||||
|
||||
public enum Bundesland
|
||||
@@ -109,14 +109,6 @@ namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
nichtAbgefragt = 00
|
||||
}
|
||||
|
||||
public enum Migrationshintergrund
|
||||
{
|
||||
Nein = 1,
|
||||
Ja = 2,
|
||||
KeineAngabe = 99,
|
||||
NichtAbgefragt = 0
|
||||
}
|
||||
|
||||
public enum HochsterSchulabschluss
|
||||
{
|
||||
KeinAbschluss = 1,
|
||||
@@ -151,12 +143,4 @@ namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
keineAngabe = 99,
|
||||
nichtAbgefragt = 0
|
||||
}
|
||||
|
||||
public enum EigeneMindKinderAuserhalbHaushaltsstruktur
|
||||
{
|
||||
Nein = 1,
|
||||
Ja = 2,
|
||||
KeineAngabe = 99,
|
||||
NichtAbgefragt = 0
|
||||
}
|
||||
}
|
||||
29
Shared/DataContracts/Wohnhilfe/CustomerWohnhilfeDC.cs
Normal file
29
Shared/DataContracts/Wohnhilfe/CustomerWohnhilfeDC.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts.Wohnhilfe;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BS.Shared.DataContracts.Wohnhilfe
|
||||
{
|
||||
public class CustomerWohnhilfeDC : BeWoDataContract
|
||||
{
|
||||
[DataMember] public string Dispalyname { get; set; }
|
||||
[DataMember] public CustomerWohnhilfeBereichBundDC BereichBundDC { get; set; }
|
||||
[DataMember] public CustomerWohnhilfeBereichEinkommenUndArbeitDC BereichEinkommenUndArbeitDC { get; set; }
|
||||
[DataMember] public CustomerWohnhilfeBereichSozialeKontakteDC BereichSozialeKontakteDC { get; set; }
|
||||
[DataMember] public CustomerWohnhilfeBereichSozialstrukturDC BereichSozialstrukturDC { get; set; }
|
||||
}
|
||||
|
||||
public enum WohnhilfeBoolData
|
||||
{
|
||||
Nein = 1,
|
||||
Ja = 2,
|
||||
KeineAngabe = 99,
|
||||
NichtAbgefragt = 0
|
||||
}
|
||||
}
|
||||
@@ -170,12 +170,12 @@
|
||||
<Compile Include="DataContracts\AdditionalServiceGroupOfPeopleRelationDC.cs" />
|
||||
<Compile Include="DataContracts\AdditionalServiceRegionDC.cs" />
|
||||
<Compile Include="DataContracts\AddressRouteDC.cs" />
|
||||
<Compile Include="DataContracts\CustomerWohnhilfeDC.cs" />
|
||||
<Compile Include="DataContracts\Wohnhilfe\CustomerWohnhilfeDC.cs" />
|
||||
<Compile Include="DataContracts\ImageDC.cs" />
|
||||
<Compile Include="DataContracts\Wohnhilfe\BereichBundDC.cs" />
|
||||
<Compile Include="DataContracts\Wohnhilfe\BereichEinkommenUndArbeitDC.cs" />
|
||||
<Compile Include="DataContracts\Wohnhilfe\BereichSozialeKontakteDC.cs" />
|
||||
<Compile Include="DataContracts\Wohnhilfe\BereichSozialstrukturDC.cs" />
|
||||
<Compile Include="DataContracts\Wohnhilfe\CustomerWohnhilfeBereichBundDC.cs" />
|
||||
<Compile Include="DataContracts\Wohnhilfe\CustomerWohnhilfeBereichEinkommenUndArbeitDC.cs" />
|
||||
<Compile Include="DataContracts\Wohnhilfe\CustomerWohnhilfeBereichSozialeKontakteDC.cs" />
|
||||
<Compile Include="DataContracts\Wohnhilfe\CustomerWohnhilfeBereichSozialstrukturDC.cs" />
|
||||
<Compile Include="FalldatenDC.cs" />
|
||||
<Compile Include="DataContracts\BeWoDataContract.cs" />
|
||||
<Compile Include="DataContracts\HilfeplanImportDC.cs" />
|
||||
|
||||
Reference in New Issue
Block a user