basic member pagination

This commit is contained in:
Julian Krauser 2024-09-16 19:03:52 +02:00
parent 6f13cdc297
commit c1a6c0040d
12 changed files with 302 additions and 5 deletions

View file

@ -0,0 +1,14 @@
import type { CommunicationTypeViewModel } from "./communicationType.models";
export interface CommunicationViewModel {
id: number;
preferred: boolean;
mobile: string;
email: string;
city: string;
street: string;
streetNumber: number;
streetNumberAddition: string;
type: CommunicationTypeViewModel;
isNewsletterMain: boolean;
}

View file

@ -0,0 +1,13 @@
import { Salutation } from "../../enums/salutation";
import type { MembershipViewModel } from "./membership.models";
export interface MemberViewModel {
id: number;
salutation: Salutation;
firstname: string;
lastname: string;
nameaffix: string;
birthdate: Date;
firstMembershipEntry?: MembershipViewModel;
lastMembershipEntry?: MembershipViewModel;
}

View file

@ -0,0 +1,7 @@
export interface MemberAwardViewModel {
id: number;
given: boolean;
note?: string;
date: Date;
award: string;
}

View file

@ -0,0 +1,7 @@
export interface MemberExecutivePositionViewModel {
id: number;
note?: string;
start: Date;
end?: Date;
executivePosition: string;
}

View file

@ -0,0 +1,8 @@
export interface MemberQualificationViewModel {
id: number;
note?: string;
start: Date;
end?: Date;
terminationReason?: string;
qualification: string;
}

View file

@ -0,0 +1,8 @@
export interface MembershipViewModel {
id: number;
internalId?: string;
start: Date;
end?: Date;
terminationReason?: string;
status: string;
}