# Conflicts: # BeWo/View/Detail/Accounting/InvoiceOverview.xaml # Host/Host.csproj.user # Host/ReportView.aspx.cs # Host/Web.config # Shared/DataContracts/GkvAbrechnung/GkvServerRequestDC.cs
33 lines
710 B
C#
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; }
|
|
}
|
|
}
|