Files
BeWoPlaner/Shared/BeWoEntityEnums.cs
2026-04-28 12:01:37 +02:00

1520 lines
38 KiB
C#

using System;
using System.ComponentModel;
namespace BS.Shared
{
public enum TableID
{
Unknown = 0,
Person = 1,
Employee = 2,
ValueListEntry2Object = 3,
ValueListEntry = 4,
Address = 5,
Contact = 6,
BankAccount = 7,
Customer = 8,
Employee2Customer = 9,
Customer2Person = 10,
Organisation = 11,
Organisation2Person = 12,
AbsenceReason = 13,
AbsenceTime = 14,
SupportConcept = 15,
SupportConceptAnnotation = 16,
Resource = 17,
ResourceBooking = 18,
ResourceBookingSequence = 19,
FileAttachment = 20,
AppUserFileAttachmentLock = 21,
CostBearer = 22,
CostBearer2SupportConcept = 23,
Query = 24,
Parameter = 25,
AccountingTransaction = 26,
Settings = 27,
ApplicationUser = 28,
ReportParameter = 29,
Team = 30,
Customer2CostBearer = 31,
Mail = 32,
Mail2Receiver = 33,
FollowUp = 34,
Login = 35,
CostRatePeriod = 36,
Diagnosis = 37,
Diagnosis2Customer = 38,
Timesheet = 39,
Employee2Team = 40,
InGroup = 41,
RightRelation = 42,
ServiceCategory = 43,
ServiceDescription = 44,
ServiceRecord = 45,
UserGroup = 46,
Mandator = 47,
Placement = 48,
Invoice = 49,
InvoiceBase = 50,
InvoiceItem = 51,
SettlementInvoice = 52,
AssessmentSheetValue = 53,
AssessmentSheetCategory = 54,
AssessmentSheetEntry = 55,
VarFieldDef = 56,
VarFieldValue = 57,
Task = 58,
NewsItem = 59,
File = 60,
Folder = 61,
SupportConceptApprovalPeriod = 62,
InvoiceNumber = 63,
ServiceInvoice = 64,
Contract = 65,
EmploymentType = 66,
AppointmentCategory = 67,
Appointment = 68,
Customer2Organisation = 69,
ServiceAccounting = 70,
GroupOfPeople = 71,
GroupMember = 72,
ServiceRecordHistory = 73,
CustomerHistory = 74,
Customer2PersonHistory = 75,
Customer2OrganisationHistory = 76,
Employee2CustomerHistory = 77,
FamilyData = 78,
AdditionalService = 79,
AdditionalServiceRegion = 80,
AdditionalService2GroupOfPeople = 81,
AdditionalServiceGroupOfPeople = 82,
AdditionalServiceGroupMember = 83,
Participation = 84,
TemporaryToken = 85,
AdditionalServiceBooking = 86,
SupportPin = 87,
ResourceAppointment = 88,
Overtime = 89,
Auszahlungsart = 90,
NewSchedulerAppointment = 91,
MedArt = 92,
Medikamentenverordnung = 93,
Medikamentenverordnungsliste = 94,
Employee2SchedulerAppointment = 95,
ResetPasswordInfo = 96,
UiElement = 97,
BeWoMobilBrowserInfo = 98,
Darreichungsform = 99,
DepotRhythmus = 100,
Textbaustein = 101,
Bargeldtransaktion = 102,
Wohnheim = 103,
Employee2Wohnheim = 104,
Employee2WohnheimHistory = 105,
Customer2Wohnheim = 106,
Customer2WohnheimHistory = 107,
SignatureTable = 108,
Wohnheimbuchung = 109,
Wohnheimbuchung2Costbearer2SupportConcept = 110,
Wohnheimbuchung2Employee = 111,
SupportConceptApprovalPeriod2Employee = 112,
FinanzDokumente = 113,
Bargeldkasse = 114,
MedRecord = 115,
ChatMessage = 116,
ChatMediaMessage = 117,
NewestChatMessage = 118,
Customer2Token = 119,
Token = 120,
Vertretung = 121,
Employee2Token = 122,
QuittierungsCheck = 123,
CustomerTeam = 124,
ChatBewoMessageSync = 125,
Feiertag = 126,
NotizenKategorie = 127,
NotizenEintrag = 128,
BuchungsExport = 129,
Timesheet2Mail = 130,
PersonHistory = 131,
EmployeeHistory = 132,
AddressHistory = 133,
ContactHistory = 134,
Budget = 135,
DeletionHistory = 136,
FlexibleReportLayout = 137,
Team2Customer = 138,
HomeViewPanel = 139,
ReportTemplate = 140,
Arbeitszeit = 141,
ArbeitszeitEintrag = 142,
DienstInfo = 143,
DienstEintrag = 144,
RatingType = 145,
Rating = 146,
GoalRating = 147,
ConfirmationReceiptSignature = 148,
Quittierungsbelegsstatus = 149,
Dokumentvorlage = 150,
Vorlagentabelle = 151,
Dienstvertretung = 152,
RegelmaessigerDienst = 153,
GeschenkterUrlaubstag = 154,
Preis = 155,
AbwesenheitsInformationPrint = 156,
SupportConceptHistory = 157,
Costbearer2SupportConceptHistory = 158,
SupportConceptApprovalPeriodHistory = 159,
ContractHistory = 160,
ErrorMessage = 161,
AddressRoute = 162,
ValidationMessage = 163,
AdditionalServiceNotice = 164,
GkvAbrechnung = 165,
Bargeldtransaktionshistory = 166,
GkvTransferprotokoll = 167,
Wohneinheit = 168,
WohneinheitBelegung = 169,
CustomerGemeinnutzigeArbeit = 170,
Image = 171,
TwoFactorCode = 172,
CustomerWohnhilfe = 173,
AiSettings = 174,
SignatureHistory = 175,
AbsenceTimeHistory = 176,
SignatureDeletionHistory = 177,
AiConversation = 178,
AiModel = 179,
AiConversationMessage = 180,
AiContext2BeWoObject = 181,
AiConfig = 182,
StoredFile = 183,
Person2Team = 184,
//AiPromptbaustein = 185,
//AiPromptbausteinTree = 186,
// Perfekt :D
OvertimeHistory = 185,
AiVoiceData = 186,
AiPromptbausteinPrompt = 187,
AiPromptbausteinFolder = 188,
AiUserSetting = 189
}
public enum SystemEntryID
{
// LVR Kostenträger
CostBearerLVR = 0,
// Vertrauensperson
PersonConfidant = 1,
// gesetzliche Vertretung
PersonRepresentative = 2,
// Hauptbetreung
EmployeeRoleMainAttendant = 3,
CustomerAmbulant = 4,
CustomerStationary = 5,
InvoiceNumber = 6,
// Bereich als Punktebogeneintrag
AdditionalServiceAssessmentSheet = 7,
// Verzeichnis für die Word-Vorlagen
TemplateDirectory = 8
}
public enum ControlType
{
TextBox = 0,
CheckBox = 1,
NumericTextBox = 2,
DatePicker = 3,
ComboBox = 4,
CheckBoxList = 5,
MemoBox = 6
}
public enum ActivationTypeId
{
Deleted = 0,
Active = 1,
Archived = 2,
InRecycleBin = 3
}
public enum ServiceRecordTypeId
{
DefaultActivity = 0, //Abrechenbare Doku / Leistung
Content = 1, //Inhaltliche Doku, rein beschreibend
AdditionalService = 2,
AdditionalServiceBillable = 3,
Wohnheimbuchung = 4
}
public enum GroupTypeId
{
ServiceRecordSupportConcepts = 0, //Hilfeplangruppe in der Zeiterfassung
ServiceRecordEmployees = 1, //Mitarbeitergruppe in der Zeiterfassung
SupplementaryServiceCustomer = 2 //Ergänzende Dienste Klientengruppe
}
public enum ReportParameterType
{
CompanyName
}
public enum SettingsType
{
HistoryCacheCount,
OpenedEmployeesHistory,
OpenedCustomersHistory,
OpenedSupportConceptsHistory,
OpenedOrganisationsHistory,
OpenedPersonsHistory,
OpenedTeamsHistory,
OpenedUserGroupsHistory,
OpenedApplicationUsersHistory,
ApplicationSettings,
MinutesToLockUI,
OpenedWohnheimHistory,
FlsDefaultFilterSettings
}
public enum QueryType
{
Public,
Internal,
Monthly
}
public enum QueryParameterType
{
SupportConcept, //0
Employee,
Customer,
Month,
Date,
DateRange, //5
Team,
CostCenter,
ServiceCategory,
ServiceDescription,
Text, //10
Year,
CurrentUser,
CurrentEmployee,
ValueListEntryType, //14
Organisation, //15
Custom = 100
}
public enum FileAttachmentType
{
NotSpecified,
SupportConceptDocument,
CustomerTemplate,
OrganisationTemplate,
PersonTemplate,
SupportConceptTemplate
}
public enum CostBearer2SupportConceptStatus
{
Created,
Requested,
Approved
}
public enum ResourceBookingFrequencyType
{
Once,
Daily,
Weekly,
Monthly,
Yearly,
MonthlyOnFirstDay,
MonthlyOnLastDay
}
public enum UserRightType : long
{
None = 0,
DeleteAll = 1,
CreateAll = 2,
EditAll = 4,
ViewAll = 8,
ServiceRecordView_View = 16,
ServiceRecordView_Edit = 32,
ServiceRecordView_Create = 64,
ServiceRecordView_Delete = 128,
AccountingTransactionView_View = 256,
AccountingTransactionView_Edit = 512,
AccountingTransactionView_Create = 1024,
AccountingTransactionView_Delete = 2048,
ResourceBookingView_View = 4096,
ResourceBookingView_Edit = 8192,
ResourceBookingView_Create = 16384,
ResourceBookingView_Delete = 32768,
QueryView_View = 65536,
QueryView_Edit = 131072,
QueryView_Create = 262144,
QueryView_Delete = 524288,
SupportConceptView_View = 1048576,
SupportConceptView_Edit = 2097152,
SupportConceptView_Create = 4194304,
SupportConceptView_Delete = 8388608,
CustomerView_View = 16777216,
CustomerView_Edit = 33554432,
CustomerView_Create = 67108864,
CustomerView_Delete = 134217728,
OrganisationView_View = 268435456,
OrganisationView_Edit = 536870912,
OrganisationView_Create = 1073741824,
OrganisationView_Delete = 2147483648,
PersonView_View = 4294967296,
PersonView_Edit = 8589934592,
PersonView_Create = 17179869184,
PersonView_Delete = 34359738368,
EmployeeView_View = 68719476736,
EmployeeView_Edit = 137438953472,
EmployeeView_Create = 274877906944,
EmployeeView_Delete = 549755813888,
TeamView_ViewAll = 1099511627776,
TeamView_Edit = 2199023255552,
TeamView_Create = 4398046511104,
TeamView_Delete = 8796093022208,
UserView_View = 17592186044416,
UserView_Edit = 35184372088832,
UserView_Create = 70368744177664,
UserView_Delete = 140737488355328,
UserGroupView_View = 281474976710656,
UserGroupView_Edit = 562949953421312,
UserGroupView_Create = 1125899906842624,
UserGroupView_Delete = 2251799813685248,
AdministrationView_View = 4503599627370496,
AdministrationView_Edit = 9007199254740992,
AdministrationView_Create = 18014398509481984,
AdministrationView_Delete = 36028797018963968,
Employee_ShowFinance = 72057594037927936,
Analysis_Settlement_View = 144115188075855872,
Analysis_EmployeeOverviewAll_View = 288230376151711744,
Analysis_ServiceOverview_View = 576460752303423488,
Analysis_SupportConceptOverviewAll_View = 1152921504606846976,
UserView_AllowChangePassword = 2305843009213693952,
OrganisationView_AllowEditCostBearer = 4611686018427387904,
ServiceRecord_AllowChangeWithin24Hours = 10000,
ServiceRecord_AllowCreateServiceRecordsForAllClients = 10001,
SupportConcept_ViewAllSupportConcepts = 10002,
SupportConcept_AllowGoalOrientedSupportConcepts = 10003,
Customer_ViewMyCustomers = 10004,
Analysis_AllowFLSOverviewForCostbearer = 10005,
SupportConceptView_AllowArchiving = 10006,
Person_AllowArchiving = 10007,
Customer_AllowArchiving = 10008,
ServiceRecord_AllowCreationForOtherEmployees = 10009,
ResourceBookingView_AllowEditResourcesFromOtherEmployees = 10010,
ServiceRecord_AllowEditAfterMaxDaysInNextMonth = 10011,
AssessmentSheet_View = 10012,
AssessmentSheet_Edit = 10013,
AssessmentSheet_Create = 10014,
AssessmentSheet_Delete = 10015,
ServiceRecord_AllowCreateMoreFLSThanApproved = 10016,
Analysis_AuslastungAllEmployee_View = 10017,
Analysis_AuslastungTeam_View = 10018,
Analysis_Auslastung_View = 10019,
Analysis_AllowFLSOverviewForTeam = 10020,
Analysis_AllowFLSOverviewForAllTeams = 10021,
ServiceRecord_AllowCreateOverlappingFLS = 10022,
ServiceRecord_AllowCreationForOtherTeamMember = 10023,
BookServiceRecordOutOfSupportConcept = 10024,
BookServiceRecordAfterSettlementInvoice = 10025,
Organisation_AllowArchiving = 10026,
ServiceRecord_ShowHistory = 10027,
ServiceRecord_AllowCreateOverlappingFLSForEmployee = 10028,
ServiceRecord_AllowCreatingGroupBooking = 10029,
ServiceRecord_AllowCreatingMultiBooking = 10030,
TeamView_ViewMyTeams = 10031,
Customer_ViewMyTeams = 10032,
SupportConcept_ViewMyTeams = 10033,
SupportConcept_ImportData = 10034,
Employee_AllowEditExtendedProperties = 20000,
Employee_AllowEditContracts = 20001,
Employee_AllowEditOwnEmployees = 20002,
Employee_AllowArchiving = 20003,
User_AllowOrderLicense = 20004,
//Employee_AllowViewOwnEmployees => sich selbst in der Mitarbeiteransicht ansehen/bearbeiten dürfen
Employee_AllowViewOwnEmployees = 20005,
Employee_AllowViewOwnTeam = 20006,
Employee_AllowEditAbsenceTimes = 20007,
Employee_AllowEditOvertimes = 20008,
Employee_ViewNotizen = 20010,
Employee_EditNotizen = 20011,
Employee_DeleteNotizen = 20012,
GroupOfPeopleView_Edit = 20100,
GroupOfPeopleView_Create = 20101,
GroupOfPeopleView_Delete = 20102,
AdditionalService_View = 20200,
AdditionalService_Edit = 20201,
OvertimeView = 20300,
//ServiceRecord_AllowCreateIfAbsenceTimeExceeded = 20300,
Mitarbeiterstundenkonto_ViewSelf = 20400,
Mitarbeiterstundenkonto_ViewAll = 20401,
Mitarbeiterstundenkonto_ViewTeams = 20402,
Auswertungen_BerichteAnsehen = 20403,
Auswertungen_StundenuebersichtAnsehen = 20404,
Auswertungen_HilfeplanuebersichtAnsehen = 20406,
Support_View = 20500,
SupportConcept_AllowEditGoals = 20600,
SupportConcept_AllowEditTasks = 20601,
ServiceRecord_AllowEditForOtherEmployees = 20602,
KalenderAnsehen = 20700,
KalenderMitarbeitertermineAnsehen = 20701,
KalenderMitarbeitertermineAnlegen = 20702,
KalenderMitarbeitertermineAendern = 20703,
KalenderKliententermineAlleAnsehen = 20704,
KalenderKliententermineAnlegen = 20706,
KalenderKliententermineAendern = 20707,
KalenderRessourcentermineAnsehen = 20708,
KalenderRessourcentermineAnlegen = 20709,
KalenderRessourcentermineAendern = 20710,
KalenderRessourcentermineAndererAendern = 20711,
KalenderInZeiterfassungUebernehmen = 20720,
KalenderInAbwesenheitenUebernehmen = 20721,
AllowChangeOwnPassword = 20800,
TextbausteineAlleAnsehen = 20900,
TextbausteineNurEigeneAnsehen = 20901,
TextbausteineAlleBearbeiten = 20902,
TextbausteineNurEigeneBearbeiten = 20903,
//TextbausteineAlleAnlegen = 20904,
//TextbausteineNurEigeneAnlegen = 20905,
BargeldverwaltungAnsehen = 21000,
BargeldverwaltungNurEigeneAnsehen = 21001,
BargeldverwaltungBearbeiten = 21002,
BargeldverwaltungAnlegen = 21003,
BargeldverwaltungLoeschen = 21004,
SupportConceptAllowReactivation = 21100,
CustomerAllowReactivation = 21101,
OrganisationAllowReactivation = 21102,
PersonAllowReactivation = 21103,
EmployeeAllowReactivation = 21104,
ServiceRecordAllowRebooking = 22000,
CostbearerAllowChange = 22001,
ServiceRecordAllowEditAfterMindays = 22002,
DocumentsAllowViewAll = 22010,
DocumentsDownloadAll = 22011,
DocumentsEditFolders = 22012,
DocumentsUploadAll = 22013,
DocumentsDeleteAll = 22014,
Customer_ViewMedication = 22100,
Customer_ViewDiagnosis = 22101,
Customer_ViewNotizen = 22110,
Customer_EditNotizen = 22111,
Customer_DeleteNotizen = 22112,
Customer_GemeinnutzigeArbeit_View = 22120,
Customer_GemeinnutzigeArbeit_Manage = 22121,
Customer_Wohnhilfe_View = 22130,
Customer_Wohnhilfe_Manage = 22131,
WohnheimView_View = 22201,
WohnheimView_Edit = 22202,
WohnheimView_Create = 22203,
WohnheimView_Delete = 22204,
Wohnheim_AllowArchiving = 22205,
WohnheimView_Wohneinheit_View = 22211,
WohnheimView_Wohneinheit_Manage = 22212,
WohnheimView_Wohneinheit_Gallery_View = 22215,
WohnheimView_Wohneinheit_Gallery_Manage = 22216,
Customer_ViewAbsenceTimes = 22222,
Customer_ViewBetreuung = 22223,
FinanzenRechnungenNachVersandBearbeiten = 22224,
WohnheimView_Wohneinheit_Belegung_View = 22231,
WohnheimView_Wohneinheit_Belegung_Manage = 22232,
Betreuungsschluessel_View = 23000,
Betreuungsschluessel_Edit = 23001,
Betreuungsschluessel_Delete = 23002,
Betreuungsschluessel_Create = 23003,
Jahresbericht = 24000,
DokumenteFinanzen = 25000,
DokumenteKlienten = 25001,
DokumenteMitarbeiter = 25002,
DokumenteOrganisationen = 25003,
DokumentePersonen = 25004,
DokumenteHilfeplaene = 25005,
DokumenteTeams = 25006,
BargeldverwaltungFinanzenAnsehen = 26000,
BargeldverwaltungFinanzenAnlegen = 26001,
BargeldverwaltungFinanzenBearbeiten = 26002,
BargeldverwaltungFinanzenLoeschen = 26003,
Finance_Gkv_View = 26110,
Finance_Gkv_Create = 26111,
Finance_Gkv_Send = 26112,
Finance_Gkv_Delete = 26113,
Customer_EditMedication = 27000,
//MedRecordsAnsehen = 27001,
//MedRecordsAnlegen = 27002,
//MedRecordsAendern = 27003,
//MedRecordsLoeschen = 27004,
ChatSettings = 28000,
ChatAdminSettings = 28001,
Kilometerauswertung_View = 29000,
BewertungAuswertung_View = 29001,
BewertenInZeiterfassung = 29002,
PivotTabelleAnsehen = 29003,
DienstplanungAnsehen = 29004,
AbwesenheitsPlanungAnsehen = 29005,
DienstplanungBearbeiten = 29006,
KilometerauswertungEigene_View = 29010,
VertretungenView_View = 30000,
CustomerTeam_View = 40000,
CustomerTeam_Edit = 40001,
CustomerTeam_Delete = 40002,
CustomerTeam_Create = 40003,
Person_FamilyView = 40010,
//FinanzenBargeldkassenBearbeiten = 50000,
ConfirmationReceiptSignatures_Delete = 50000,
/// <summary>Einzelunterschriften leisten</summary>
Signature_ProvideSingleSignature = 60000,
/// <summary>Monatsunterschriften leisten</summary>
Signature_ProvideMonthlySignature = 60001,
/// <summary>Stellvertretend Monatsunterschriften leisten</summary>
Signature_ProvideMonthlySignatureByProxy = 60002,
Customer_Anonymization = 171717,
Customer_Full_Delete = 171718,
Person_Full_Delete = 171719,
Employee_Full_Delete = 171720,
Employee_Anonymization = 171721,
Termine_IntervalDelete = 171722,
ServiceRecord_AllowCreateAfterEmployeeSignature = 171723,
ServiceRecord_AllowEditAfterEmployeeSignature = 171724,
ServiceRecord_AllowDeleteAfterEmployeeSignature = 171725,
//AiChatInZeiterfassung = 180000,
//AiModuleChatView = 201000,
//AiModuleChatAdd = 201001,
//AiModuleChatEdit = 201002,
//AiModuleChatDelete = 201003,
//AiModuleViewSetting = 201005,
//AiModuleChatClone = 201006,
AiModulePromptbausteineView = 201007,
//AiModulePromptbausteineAdd = 201008,
AiModulePromptbausteineEdit = 201009,
//AiModulePromptbausteineRemove = 201010,
//AiModulePromptbausteineSeeAll = 201011,
//AiModulePromptbausteineExecute = 201012,
AiModulePromptbausteinShare = 201013,
AiModuleServiceRecordChat = 201014,
AiModuleServiceRecordDocu = 201015,
AiVoiceView = 201020,
}
public enum PersonType
{
Employee = 1,
Customer = 2,
Others = 3
}
public enum Sex
{
Male,
Female,
Divers
}
public enum FamilyStatus
{
Single,
Married,
Divorced,
Widowed,
Partner,
PartnerDivorced, //=Separated (Getrennt)
PartnerDead,
PartnerMarried,
Entpartnert
}
public enum Pflegegrad {
KeinGrad = -2,
PflegegradBeantragt = -1,
Grad1 = 0,
Grad2 = 1,
Grad3 = 2,
Grad4 = 3,
Grad5 = 4
}
public enum ValueListEntryType
{
EmploymentType = 0,
DisabilityType = 1,
AccountingTransactionType = 2,
StaffRoleType = 3,
StaffActivityFocusType = 4,
StaffQualificationsType = 5,
ResourceCategory = 6,
EnvironmentPersonType = 7,
CustomerCareType = 8,
SupportConceptGoalCategoryType = 9, // Ziele im allg. Verwaltungs Katalog
SupportConceptGoalType = 10, // Maßnahmen im allg. Verwaltungs Katalog
TitleType = 11,
FunctionType = 12,
PlacementObjectiveType = 13,
TerminationReasonType = 14,
PersonCategoryType = 15,
CustomerCategoryType = 16,
EnvironmentOrganisationType = 17,
SupportConceptIndividualGoalType = 18, // Individuelle Maßnahme
Auszahlungsart = 19,
SupportConceptIndividualGoalCategoryType = 20, // Individuelles Ziel
DocumentType = 21,
OrganisationFunctionType = 22,
RoleInOrganisationType = 23,
RoleInFamily = 24,
Nationality = 25,
Aufenthaltsstatus = 26,
Migrationshintergrund = 27,
ContractType = 28,
QualifikationsBedarf = 29,
NotizenKategorieCustomer = 30,
NotizenKategorieEmployee = 31,
MassnahmenKatalog = 32,
Auftragsherkunft,
Vermittlungsgrundlage,
EinkommenBeginnType = 35,
EinkommenEndeType = 36,
FremdHilfeType = 37,
SozSchwierigkeitenType = 38,
SozBeziehungenType = 39,
ErstaufnahmeType = 40,
RegionType = 41,
VgAVerlauf
}
public enum ContactType
{
private_MobilePhone,
business_MobilePhone,
private_Phone,
business_Phone,
private_Fax,
business_Fax,
private_Mail,
business_Mail,
private_Homepage,
business_Homepage,
ContactPerson,
business_POBox,
private_POBox
}
public enum Status
{
read,
unread
}
public enum Priority
{
high,
normal,
low
}
public enum CostRatePeriodType
{
Unknown = -1,
HourlyRate = 0,
MinutesIntervall = 1,
RateFactor = 2,
MinutesPerServiceUnit = 3,
ServiceTolerance = 4,
AmountOfMoney = 5
}
public enum InvoiceType
{
CustomerEquity,
Settlement,
General,
Service
}
public enum UserValidationResult
{
UserUnknown = 0,
UserValid = 1,
UnkownError = 2,
TenantUnknown = 3,
IncorrectPin = 4,
PinExpired = 5,
PinAlreadyUsed = 6,
PasswordExpired = 7,
UserValidTwoFactorAuthenticationNeeded = 8,
EmployeeDeleted = 9,
BeWoPasswordNotAllowed = 10,
TwoFactorAuthenticationFailedNoApiKey = 11,
TwoFactorAuthenticationFailedNoChatCodeAllowLogin = 12,
TwoFactorAuthenticationFailedNoChatCodeDontAllowLogin = 13
}
public enum SupportConceptApprovalInterval
{
Daily,
Weekly,
Fortnightly,
Monthly,
Quarterly,
HalfYearly,
Yearly,
Hourly
}
public enum AccountingIntervalType
{
Hourly,
Daily,
Weekly,
Fortnightly,
Monthly,
Quarterly,
HalfYearly,
Yearly,
FlatRate
}
public enum AccountingvisibilityType
{
Never = -1,
Beides = 0,
NurKlientenbezogen = 1,
NichtKlientenbezogen = 2
}
public enum AbsenceReasonVisibilityType
{
All = 0,
Customer = 1,
Employee = 2
}
public enum ScopeTypeId
{
Global,
Individual
}
public enum ServiceUnit
{
DateTime,
Piece
}
public enum AppointmentKind
{
General,
ServiceRecord,
Resource,
Task,
Customer,
Employee,
SupportConcept,
CommonCalendar,
KlientenKalender
}
public enum AppointmentViewType
{
Day = 0,
Week = 1,
Month = 2,
WorkWeek = 3,
Timeline = 4
}
public enum ServiceRecordTimeInterval
{
LastWeek,
LastMonth,
Last3Month,
All,
LastNDays,
XTage,
ZeitraumWaehlen,
Monatsauswahl
}
public static class BeWoEnum
{
public static T ByName<T>(string pName)
{
return (T)Enum.Parse(typeof(T), pName);
}
}
public enum StatementType
{
Insert = 0,
Update = 1,
Delete = 2,
Archived = 3,
Reactivate = 4,
Signature = 5
}
public enum AppointmentDayOfWeek
{
Montag = 0,
Dienstag = 1,
Mittwoch = 2,
Donnerstag = 3,
Freitag = 4,
Samstag = 5,
Sonntag = 6
}
public enum Monat
{
Januar = 1,
Februar = 2,
März = 3,
April = 4,
Mai = 5,
Juni = 6,
Juli = 7,
August = 8,
September = 9,
Oktober = 10,
November = 11,
Dezember = 12
}
public enum ServiceRecordValidationResult
{
ServiceRecordOverlapping = 0,
EmployeeOverlapping = 1,
OutsideOfSupportConcept = 2,
ApprovedFLSOverspending = 3,
OutOfEditLimit = 4,
Error = 5,
SettlementInvoiceAlreadyExisting = 6,
FristAbgelaufen = 7,
Custom = 8,
SignatureExists = 9,
DoppelterEintrag = 10 // Für Mok, da es da mal zu doppelten Einträgen gekommen ist.
}
public enum ViewDestination
{
Edit = 0,
Preview = 1,
Printer = 2,
File = 3,
}
public enum CommonCalendarVMType
{
Geburtstag = 0,
Hilfeplan = 1,
Abwesenheit = 2
}
public enum KlientenKalenderTyp
{
Geburtstag = 0,
Hilfeplan = 1,
Abwesenheit = 2,
Termin = 3
}
public enum ParticipationAnswer
{
Offen = 0,
Zusage = 1,
Absage = 2,
Vorbehalt = 3,
Verstrichen = 4
}
public enum UiElementType
{
Common,
StartPanel,
ServiceRecordStatistic
}
public enum FLSReportType
{
Employee,
Customer,
Costbearer,
Team
}
public enum Auszahlungsintervall
{
Kein,
Monatlich,
Woechentlich,
Taeglich
}
public enum Zahlungstyp
{
Einzahlung,
Auszahlung
}
public enum Interval
{
Hour,
HalfHour,
QuaterHour
}
public enum ReportEnum
{
KalenderMonatsReportEnum,
KassenbuchReportEnum,
ZahlungsbelegEnum
}
public enum Behinderungsart
{
Blindheit,
Epilepsie,
Gehoerlosigkeit,
GeistigeBehinderung,
Hoerbehinderung,
InnereErkrankungen,
Koerperbehinderung,
Lernbehinderung,
PsychischeErkrankungen,
Sehbehinderung,
Suchtkrankheiten
}
public enum Merkzeichen
{
aG,
H,
Bl,
Gl,
RF,
Kl1,
B,
G
}
public enum WohnheimbuchungsintervallTyp
{
SupportConcept,
Employee
}
public enum DataIdentifier
{
Message,
Login,
Logout,
Null,
StatusNotificationLogin,
StatusNotificationLogout,
OldMessage,
DeliveringStatusChange,
StatusNotificationLoginBroadcast,
Team,
MessageResponse,
StatusNotificationBeschäftigt,
StatusNotificationOnline,
StatusNotificationOffline,
LoginSuccess,
StatusRequest,
KeepAlive
}
public enum ChatType
{
Mitarbeiter,
Klienten,
Team,
Chefs
}
public enum MedienTyp
{
Message,
Bild,
Dokument,
Sound
}
public enum StatusType
{
Online,
Offline,
Beschäftigt
}
public enum LoginFailReason
{
WrongCredentials,
WrongTenant,
Unauthorized,
Unknown
}
public enum PasswortSecurityStrength
{
SehrSchwach,
Schwach,
Mittelmass,
Stark,
SehrStark
}
public enum ZeiterfassungsDauer
{
Minuten,
Stunden
}
public enum ServiceRecordFormate
{
OriginaleZeiterfassung,
ZeiterfassungMitEndDatum,
ZeiterfassungMitMonatJahr
}
public enum TokenTyp
{
AusschlussKriterium,
WunschKriterium
}
public enum SchulbegleitenderZugehoerigkeitsTyp
{
Mitarbeiter,
Klient
}
public enum VertretungsStatus
{
MaKrankVertretungBenoetigt = 0,
MaKrankKeineVertretungBenoetigt = 1,
MaKrankVertretungVorhanden = 2,
KlientKrank = 3,
KlientUndMitarbeiterKrank = 4,
}
public enum VertretungDringlichkeit
{
Dringend,
Moeglichst,
KindGehtAlleinZurSchule,
KindBleibtZuHause
}
public enum MessageType
{
Anonymization,
DeleteForGood
}
public enum SchedulerRightsCheckType
{
View,
Edit,
Create
}
public enum FlexibleReportEntryType
{
EmployeeNullEntry,
CustomerNullEntry,
ServiceRecordEntry,
SupportConceptEntry
}
public enum Bewilligungsart
{
Direkt = 0,
Budget = 1
}
public enum HomeViewPanelType
{
TasksPanel = 0, // PanelTasks
ExpiringSupportConceptsPanel = 1, // PanelExpiringSupportConcepts
ConferenceDatesPanel = 2, // PanelConferenceDates
BirthdatesPanel = 3, // PanelBirthdates
InternalNewsPanel = 4, // PanelInternalNews
BeWoNewsPanel = 5, // PanelBeWoNews
CustomReportPanel = 6,
CustomXamlPanel = 7
}
public enum SubstitutionNeed
{
SubstitutionNeedUnset = 0,
NoSubstitutionWanted = 1,
SubstitutionWanted = 2,
SubstitutionNeeded = 3
}
public enum QBFilterEnum
{
AlleKlienten,
NurKlientenMeinesTeams,
MeineKlienten,
KlientenAuswahl,
TeamAuswahl
}
public enum QBSortOrderEnum
{
NachKlient,
NachHauptbetreuung,
NachTeam
}
public enum KassenSortOrderEnum
{
NachName,
NachDatumAufsteigend,
NachDatumAbsteigend
}
public enum Platzhaltergruppen
{
Anschrift,
Personendaten,
EigeneOrganisation
}
public enum PlatzhaltergruppeAnschrift
{
Straße,
Hausnummer,
PLZ,
Ort,
Empfängername
}
public enum PlatzhaltergruppePersonendaten
{
Anrede,
Vorname,
Nachname,
Geburtstag,
Straße,
Hausnummer,
PLZ,
Ort,
Berufsbezeichnung
}
public enum PlatzhaltergruppeEigeneOrganisation
{
Name,
Straße,
Hausnummer,
PLZ,
Ort
}
public enum SignatureType
{
Employee,
Customer
}
public enum FLSAuswertungstyp
{
Daily = 0,
Weekly = 1,
Monthly = 2
}
public enum Sortierungsarten
{
Alphabetisch = 0,
Dienstanzahl = 1,
Qualifikation = 2
}
/// <summary>
/// Der Buchungsmodus im MoK
/// </summary>
public enum BookingMode
{
SingleBookingMode = 0,
GroupBookingMode = 1,
MultiBookingMode = 2
}
/// <summary>
/// Der Unterschriftenstatus in der ServiceRecordHistory für den Status der Einzelunterschriften, der Monatsunterschriften des Klienten und der des Mitarbeiters
/// </summary>
public enum SignatureStateType
{
None = 0,
Valid = 1,
Invalid = 2,
ManuallyDeleted = 3,
AutomaticallyDeleted = 4
}
public enum RequestType
{
Default,
GkvServerSendNew,
GkvServerGetIKNumber,
GkvServerGetStatus,
GkvClientResult,
GkvClientSum,
GkvServerGetNumber,
}
public enum GkvTransferResultType
{
Waiting = -1,
Success = 0, // Kein Fehler
FailSoft = 1, // Kann erneut senden
FailFatal = 2, // Kann nicht erneut senden
}
public enum GkvState
{
NoSend,
ErrorSoft,
ErrorFatal,
Paid,
WaitingForDakota,
WaitingForKrankenkasse,
WaitingForKrankenkasseTooLong,
WaitingForUrbelege,
}
public enum GkvVerfahrensstufe
{
Test,
Erprobung,
Echt
}
public enum ValidationType
{
CustomerVersichertenstatus,
CustomerVersichertennummer,
OrganisationIKNumber,
OrganisationLeistungserbringergruppe,
OrganisationBezDatenannahmestelle
}
public enum SignatureTable
{
SingleSignature,
CustomerMonthlySignature,
EmployeeMonthlySignature,
BargeldkasseneinzahlungsSignature
}
public enum SignatureEventType
{
Insert,
Update,
Delete,
CascadingDelete
}
public enum QbSignatureIntervalSelection
{
[Description("1. Monatshälfte")] FirstHalf,
[Description("2. Monatshälfte")] SecondHalf,
[Description("Ganzer Monat")] WholeMonth
}
public enum GkvRawDataType
{
Auftragsdatei,
Nutzdatendatei
}
public enum AiConversationMessageRole
{
System,
Assistent,
User
}
public enum AiDataContextType
{
json,
csv,
tsv,
csv2,
tsv2,
}
public enum AiPromptbausteinType
{
Prompt,
Ordner,
Kette
}
public enum AiActionType
{
ServiceRecord,
ServiceRecordConversation,
ServiceRecordDocumentation
}
public enum AiContextType
{
SupportConceptNavigation = 0,
CustomerNavigation = 1,
PersonNavigation = 2,
EmployeeNavigation = 3,
OrganisationNavigation = 4,
//Team = 5,
//Dokumente = 6,
//User = 7,
//UserGroup = 8,
//Report = 9,
//Scheduler = 10,
//Wohnheim = 11,
//Vertretungen = 12,
//CustomerTeam = 13,
//Scheduling = 14,
//Finance = 15,
//Administration = 16,
//AiConversation = 17,
//AiConversationPopup = 18,
ServiceRecord = 19,
CustomerDetail = 20,
PersonDetail = 21,
EmployeeDetail = 22,
OrganisationDetail = 23,
SupportConceptDetail = 24,
}
public enum AiFunctionType
{
ServiceRecordDocumentation
}
public enum AiModelSource
{
openwebui,
ollama,
ollama2
}
public enum BeWoClientReleaseStage
{
ProofOfConcept,
Sandbox,
Staging,
FriendlyUserBeta,
Preview,
Release
}
public enum BeWoClientFeature
{
None,
AI
}
public enum BWPFeature
{
XRechnung = 10,
GkvAbrechnung = 11,
AiConversation = 12,
}
public enum LogLevel
{
Debug,
Info,
Warning,
Error,
}
public enum VgaTypeEnum
{
Vga, //Vermittlung gemeinnütziger Arbeit
Asa, //Aufsuchendes Angebot? o.ä.
Tgv //Tagesgeldverwaltung
}
public enum BeWoAppointmentType
{
Appointment,
Task,
AbsenceTime
}
public enum AppointmentFilter
{
Default,
MyOwnAppointmentsOnly,
PrivateAppointmentsOnly,
EmployeeColors,
AbsenceTimes,
Tasks,
EmployeesOnly,
CustomersOnly,
ResourcesOnly
}
}