change user to uuid

This commit is contained in:
Julian Krauser 2025-01-29 08:53:42 +01:00
parent 50cbf94ee5
commit 4c5d132de8
17 changed files with 86 additions and 93 deletions

View file

@ -3,7 +3,7 @@ import type { MembershipViewModel } from "./membership.models";
import type { SalutationViewModel } from "../../settings/salutation.models";
export interface MemberViewModel {
id: number;
id: string;
salutation: SalutationViewModel;
firstname: string;
lastname: string;
@ -18,7 +18,7 @@ export interface MemberViewModel {
}
export interface MemberStatisticsViewModel {
id: number;
id: string;
salutation: string;
firstname: string;
lastname: string;
@ -39,7 +39,7 @@ export interface CreateMemberViewModel {
}
export interface UpdateMemberViewModel {
id: number;
id: string;
salutationId: number;
firstname: string;
lastname: string;

View file

@ -2,10 +2,10 @@ import type { MemberViewModel } from "../member/member.models";
export interface NewsletterRecipientsViewModel {
newsletterId: number;
memberId: number;
memberId: string;
member: MemberViewModel;
}
export interface SyncNewsletterRecipientsViewModel {
memberId: number;
memberId: string;
}

View file

@ -1,10 +1,10 @@
export interface ProtocolPresenceViewModel {
memberId: number;
memberId: string;
absent: boolean;
excused: boolean;
protocolId: number;
}
export interface SyncProtocolPresenceViewModel {
memberIds: Array<number>;
memberIds: Array<string>;
}

View file

@ -2,7 +2,7 @@ import type { PermissionObject } from "@/types/permissionTypes";
import type { RoleViewModel } from "./role.models";
export interface UserViewModel {
id: number;
id: string;
username: string;
mail: string;
firstname: string;
@ -21,7 +21,7 @@ export interface CreateUserViewModel {
}
export interface UpdateUserViewModel {
id: number;
id: string;
username: string;
mail: string;
firstname: string;