132 lines
3.5 KiB
C#
132 lines
3.5 KiB
C#
using BeWo.Data.Entities;
|
|
using BS.Shared.DataContracts.Compact;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AICore.Context.Entry
|
|
{
|
|
public abstract class BaseContextEntry
|
|
{
|
|
|
|
}
|
|
|
|
public abstract class DetailContextEntry : BaseContextEntry
|
|
{
|
|
|
|
}
|
|
|
|
public class CustomerDetailContextEntry : DetailContextEntry
|
|
{
|
|
|
|
}
|
|
|
|
public class EmployeeDetailContextEntry : DetailContextEntry
|
|
{
|
|
|
|
}
|
|
|
|
public class PersonDetailContextEntry : DetailContextEntry
|
|
{
|
|
|
|
}
|
|
|
|
public class OrganisationDetailContextEntry : DetailContextEntry
|
|
{
|
|
|
|
}
|
|
|
|
public class SupportConceptDetailContextEntry : DetailContextEntry
|
|
{
|
|
|
|
}
|
|
|
|
public abstract class NavigationContextEntry : BaseContextEntry
|
|
{
|
|
|
|
}
|
|
|
|
public class CustomerNavigationContextEntry : NavigationContextEntry
|
|
{
|
|
[JsonPropertyName("Adresse")]
|
|
public string AddressString { get; set; }
|
|
|
|
[JsonPropertyName("Alias")]
|
|
public string CustomerAlias { get; set; }
|
|
|
|
[JsonPropertyName("Klient-ID")]
|
|
public long CustomerOid { get; set; }
|
|
|
|
[JsonPropertyName("Geburtstag")]
|
|
public string DateOfBirthString { get; set; }
|
|
|
|
[JsonPropertyName("EigenkapitalBeitrag")]
|
|
public decimal EquityContribution { get; set; }
|
|
|
|
[JsonPropertyName("Name")]
|
|
public string EquityConFullNametribution { get; set; }
|
|
|
|
[JsonPropertyName("Rechnungsadresse")]
|
|
public string InvoiceAddressString { get; set; }
|
|
}
|
|
public class EmployeeNavigationContextEntry : NavigationContextEntry {
|
|
[JsonPropertyName("Mitarbeiter-ID")]
|
|
public long EmployeeOid { get; set; }
|
|
|
|
[JsonPropertyName("Personalnummer")]
|
|
public string PersonnelNumber { get; set; }
|
|
|
|
[JsonPropertyName("Name")]
|
|
public string FirstNameLastName { get; set; }
|
|
}
|
|
public class PersonNavigationContextEntry : NavigationContextEntry {
|
|
public string AddressString { get; set; }
|
|
public DateTime Birthday { get; set; }
|
|
public long CustomerOid { get; set; }
|
|
public long EmployeeOid { get; set; }
|
|
public string FullName { get; set; }
|
|
public string Geschlecht { get; set; }
|
|
public string Function { get; set; }
|
|
}
|
|
public class OrganisationNavigationContextEntry : NavigationContextEntry {
|
|
public long OrganisationOid { get; set; }
|
|
public string Name { get; set; }
|
|
public string Name2 { get; set; }
|
|
public string DebitorNumber { get; set; }
|
|
public string BusinessPartnerId { get; set; }
|
|
public string AddressString { get; set; }
|
|
public string IKDatenannahmestelle { get; set; }
|
|
public string IKKostentrager { get; set; }
|
|
public string IKKrankenkasse { get; set; }
|
|
}
|
|
public class SupportConceptNavigationContextEntry : NavigationContextEntry {
|
|
public long SupportConceptOid { get; set; }
|
|
public string AddressString { get; set; }
|
|
public string AllCostBearerNames { get; set; }
|
|
public object CostBearer { get; set; }
|
|
public string CostBearerDetailStrings { get; set; }
|
|
public long CustomerOid { get; set; }
|
|
public DateTime StartDate { get; set; }
|
|
public DateTime EndDate { get; set; }
|
|
}
|
|
|
|
public class ServiceRecordContextEntry : NavigationContextEntry
|
|
{
|
|
public string ServiceRecordOid { get; set; }
|
|
public DateTime Start { get; set; }
|
|
public DateTime End { get; set; }
|
|
public decimal DurationInStunden { get; set; }
|
|
public string CategoryName { get; set; }
|
|
public string Name { get; set; }
|
|
public string Notice { get; set; }
|
|
public decimal DistanceInMeter { get; set; }
|
|
public DateTime InsertedOn { get; set; }
|
|
public decimal Betrag { get; set; }
|
|
public object InsUser { get; set; }
|
|
public object Employee { get; set; }
|
|
}
|
|
}
|