2025-01-25 10:20:57 +01:00
|
|
|
import { SalutationViewModel } from "../../settings/salutation.models";
|
2024-09-17 16:44:39 +02:00
|
|
|
import { CommunicationViewModel } from "./communication.models";
|
2024-09-16 15:55:41 +02:00
|
|
|
import { MembershipViewModel } from "./membership.models";
|
2024-09-16 12:37:06 +02:00
|
|
|
|
|
|
|
export interface MemberViewModel {
|
|
|
|
id: number;
|
2025-01-25 10:20:57 +01:00
|
|
|
salutation: SalutationViewModel;
|
2024-09-16 12:37:06 +02:00
|
|
|
firstname: string;
|
|
|
|
lastname: string;
|
|
|
|
nameaffix: string;
|
|
|
|
birthdate: Date;
|
2025-01-02 17:08:53 +01:00
|
|
|
internalId?: string;
|
2024-09-16 15:55:41 +02:00
|
|
|
firstMembershipEntry?: MembershipViewModel;
|
|
|
|
lastMembershipEntry?: MembershipViewModel;
|
2024-09-17 16:44:39 +02:00
|
|
|
sendNewsletter?: CommunicationViewModel;
|
2024-11-27 10:07:59 +01:00
|
|
|
smsAlarming?: Array<CommunicationViewModel>;
|
2024-09-17 16:44:39 +02:00
|
|
|
preferredCommunication?: Array<CommunicationViewModel>;
|
2024-09-16 12:37:06 +02:00
|
|
|
}
|
2025-01-21 14:49:14 +01:00
|
|
|
|
|
|
|
export interface MemberStatisticsViewModel {
|
|
|
|
id: number;
|
2025-01-25 10:20:57 +01:00
|
|
|
salutation: string;
|
2025-01-21 14:49:14 +01:00
|
|
|
firstname: string;
|
|
|
|
lastname: string;
|
|
|
|
nameaffix: string;
|
|
|
|
birthdate: Date;
|
|
|
|
todayAge: number;
|
|
|
|
ageThisYear: number;
|
|
|
|
exactAge: string;
|
|
|
|
}
|