import { mState } from "./enum"; export interface RelationShip { id: number; relatePersonId: number; personId: number; state: mState; } //relationship id this relatePersonId person has relation with other person // also other person has also has relation with you. look in two way // person id = 1 has to relation id = 90 // that means when you edit person 90 their relation ship also be there. // so personid = 1 and relation id = 90 we need to show other way around. //example first name = Smith has partner Jennifer // when we edit Jennifer it should show Smith as her partner too. export interface RelationShipView { id: number; relatePersonId:number; personId : number; pfirstName: string |null |undefined; plastName: string |null |undefined; sex:string |null |undefined; state: mState; }