Skip to content

Instantly share code, notes, and snippets.

@angshu
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angshu/339e6430d7a4b1d53da7 to your computer and use it in GitHub Desktop.
Save angshu/339e6430d7a4b1d53da7 to your computer and use it in GitHub Desktop.
Relationship model suggestion
[
{
type: "father",
name_bangla: "",
name: "Sahidul Hasan",
hid: 652,
brn: null,
nid: 5213,
status:"deceased",
certificate_type: "birth",
certificate_id: 78651,
nationality: "bangladeshi",
contact_number: 01787931
},
{
type: "brother",
name_bangla: "",
name: "Emran Hasan",
hid: 121,
brn: null,
nid: 1001,
status:"alive",
certificate_type: null,
certificate_id: null
},
{
type: "wife",
name_bangla: "",
name: "Shahida Begum",
hid: null,
brn: null,
nid: 1002,
status:"deceased",
certificate_type: "marriage",
certificate_id: 21234,
nationality: "bangladeshi"
},
{
type: "wife",
name_bangla: "",
name: "Noora Khan",
hid: 121,
brn: 312,
nid: 1003,
status:"alive",
certificate_type: "marriage",
certificate_id: 5431,
nationality: "bangladeshi",
primary_contact: "yes",
contact_number: 017274231
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment