Affil To Help for Developers

Affiliations are used to describe a person's interests - the way that they are connected to the center. Programs have affiliations that are assigned to everyone registering for the program. Reports search for everyone that has an affiliation. Members are assigned an affiliation corresponding to their category.

Table: affils

descrip
the description of the affiliation
id
unique id
selectable
a boolean. is the system affiliation selectable when editing a person or program?
system
a boolean. if 'yes' it means Reg uses this affiliation internally. Cannot be edited.

Relations

affil_personaffilpersonhas_many
affil_programaffilprogramhas_many
affil_reportaffilreporthas_many
peopleaffil_person => personmany_to_many
programsaffil_program => programmany_to_many
reportsaffil_report => reportmany_to_many