2024-10-25 17:30:27 +02:00
|
|
|
|
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]
|
2024-12-10 13:59:43 +01:00
|
|
|
|
public abstract class AppRequestDC
|
2024-10-25 17:30:27 +02:00
|
|
|
|
{
|
2024-10-28 15:48:18 +01:00
|
|
|
|
public AppRequestDC(RequestType type)
|
2024-10-25 17:30:27 +02:00
|
|
|
|
{
|
|
|
|
|
|
Type = type;
|
2024-10-28 15:48:18 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public AppRequestDC(RequestType type, string tenant) : this(type)
|
|
|
|
|
|
{
|
2024-10-25 17:30:27 +02:00
|
|
|
|
Tenant = tenant;
|
|
|
|
|
|
}
|
2024-10-28 15:48:18 +01:00
|
|
|
|
|
|
|
|
|
|
[DataMember] public string Tenant { get; set; }
|
2024-10-29 15:23:30 +01:00
|
|
|
|
[DataMember] public RequestType Type { get; private set; }
|
2024-10-25 17:30:27 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|