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

22 lines
418 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 DeleteMemberCommand {
id: number;
}