Files
BeWoPlaner/Shared/DataContracts/AppRequestDC.cs
Rene Evertz a9006b845c Merge branch 'master' of ssh://float.ownsoft.de/git/beyondSoft/BeWo into feature_rene_17_xrechnung
# Conflicts:
#	BeWo/View/Detail/Accounting/InvoiceOverview.xaml
#	Host/Host.csproj.user
#	Host/ReportView.aspx.cs
#	Host/Web.config
#	Shared/DataContracts/GkvAbrechnung/GkvServerRequestDC.cs
2025-02-17 10:31:30 +01:00

33 lines
710 B
C#

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace BS.Shared.DataContracts
{
/// <summary>
/// Kann per RequestSender gesendet werden und als ResponseDC empfangen wird.
/// </summary>
[DataContract]
public abstract class AppRequestDC
{
public AppRequestDC(RequestType type)
{
Type = type;
}
public AppRequestDC(RequestType type, string tenant) : this(type)
{
Tenant = tenant;
}
[JsonProperty("tenant")]
[DataMember] public string Tenant { get; set; }
[JsonProperty("type")]
[DataMember] public RequestType Type { get; private set; }
}
}