ff-admin-server/src/command/memberCommand.ts

27 lines
511 B
TypeScript

import { Salutation } from "../enums/salutation";
export interface CreateMemberCommand {
salutation: Salutation;
firstname: string;
lastname: string;
nameaffix: string;
birthdate: Date;
}
export interface UpdateMemberCommand {
id: number;
salutation: Salutation;
firstname: string;
lastname: string;
nameaffix: string;
birthdate: Date;
}
export interface UpdateMemberNewsletterCommand {
id: number;
communicationId: number;
}
export interface DeleteMemberCommand {
id: number;
}