basic member pagination
This commit is contained in:
parent
6f13cdc297
commit
c1a6c0040d
12 changed files with 302 additions and 5 deletions
14
src/viewmodels/admin/communication.models.ts
Normal file
14
src/viewmodels/admin/communication.models.ts
Normal 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;
|
||||
}
|
13
src/viewmodels/admin/member.models.ts
Normal file
13
src/viewmodels/admin/member.models.ts
Normal 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;
|
||||
}
|
7
src/viewmodels/admin/memberAward.models.ts
Normal file
7
src/viewmodels/admin/memberAward.models.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
export interface MemberAwardViewModel {
|
||||
id: number;
|
||||
given: boolean;
|
||||
note?: string;
|
||||
date: Date;
|
||||
award: string;
|
||||
}
|
7
src/viewmodels/admin/memberExecutivePosition.models.ts
Normal file
7
src/viewmodels/admin/memberExecutivePosition.models.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
export interface MemberExecutivePositionViewModel {
|
||||
id: number;
|
||||
note?: string;
|
||||
start: Date;
|
||||
end?: Date;
|
||||
executivePosition: string;
|
||||
}
|
8
src/viewmodels/admin/memberQualification.models.ts
Normal file
8
src/viewmodels/admin/memberQualification.models.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
export interface MemberQualificationViewModel {
|
||||
id: number;
|
||||
note?: string;
|
||||
start: Date;
|
||||
end?: Date;
|
||||
terminationReason?: string;
|
||||
qualification: string;
|
||||
}
|
8
src/viewmodels/admin/membership.models.ts
Normal file
8
src/viewmodels/admin/membership.models.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
export interface MembershipViewModel {
|
||||
id: number;
|
||||
internalId?: string;
|
||||
start: Date;
|
||||
end?: Date;
|
||||
terminationReason?: string;
|
||||
status: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue