import { PersonPhotoDto } from "./personphotodto";
import { RelationShip } from "./relationship";

export interface FamilySearch {
    email:string|null;
    phone:string |null;
    clientname:string |null;
}

export interface Person {
	 
    id: number;
    title?:string| null| undefined;
    firstName: string | null|undefined;
    lastName: string | null|undefined;
    email: string | null|undefined;
    phone: string | null|undefined;
    address?: string | null|undefined;
    alive: boolean | null|undefined;
    dob? : string | null|undefined;
    fatherId?: number| null|undefined;
    motherId?: number| null|undefined;
    image?: string|null|undefined;
    sex?: string|null|undefined;
    fatherName?:string |null;
    motherName?:string |null;
    relationShips?: RelationShip[];
    personPhotos?: PersonPhotoDto[];
}

export interface PersonContainer
{
    person: Person;
    formData?:FormData;
    
}

