Skip to content

Instantly share code, notes, and snippets.

@jschroed91
Created September 28, 2015 16:55
Show Gist options
  • Save jschroed91/9b93ff5dfa20b376e7ca to your computer and use it in GitHub Desktop.
Save jschroed91/9b93ff5dfa20b376e7ca to your computer and use it in GitHub Desktop.
<?php
class Committee
{
protected $id;
protected $shortName;
protected $longName;
}
class Proposal
{
protected $committeeHeardBy;
protected $committeeOnAgenda;
}
Committee:
{
id: 1
shortName: "G"
longName: "International Building Code - General Code Committee"
}
Proposal:
{
id: 1
committeeHeardBy: 1
committeeOnAgenda: 1
}
<?php
class Committee
{
protected $id;
protected $shortName;
protected $longName;
protected $purpose;
}
class Proposal
{
protected $committeeHeardBy;
protected $committeeOnAgenda;
}
Committee:
{
id: 1
shortName: "G"
longName: "International Building Code - General Code Committee"
purpose: "Hearing"
}
Committee:
{
id: 2
shortName: "G"
longName: "International Building Code - General Code Committee"
purpose: "Agenda"
}
Proposal:
{
id: 1
committeeHeardBy: 1
committeeOnAgenda: 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment