DataObjects/pman.links.ini
authorAlan Knowles <alan@roojs.com>
Fri, 7 Oct 2016 07:05:13 +0000 (15:05 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Oct 2016 07:05:13 +0000 (15:05 +0800)
DataObjects/pman.links.ini

index 6c1739c..eb3575a 100644 (file)
@@ -2,10 +2,34 @@
 [Images]
 parent_image_id = Images:id
 
+[core_person]
+office_id = core_office::id
+company_id = core_company:id
+project_id = core_project:id
+owner_id = core_person:id
+
+
+
+[core_company]
+logo_id = Images:id
+owner_id = core_person:id
+main_office_id = core_office::id
+
+
+[core_office]
+company_id = core_company:id
+
+[core_project]
+client_id = core_company:id
+agency_id = core_company:id
+team_id = 
+[Images]
+parent_image_id = Images:id
+
 [Person]
-office_id = Office:id
-company_id = Companies:id
-project_id = Projects:id
+office_id = core_office::id
+company_id = core_company:id
+project_id = core_project:id
 owner_id = Person:id
 
 
@@ -13,22 +37,22 @@ owner_id = Person:id
 [Companies]
 logo_id = Images:id
 owner_id = Person:id
-main_office_id = Office:id
+main_office_id = core_office::id
 
 
-[Office]
-company_id = Companies:id
+[core_office:]
+company_id = core_company:id
 
 [Projects]
-client_id = Companies:id
-agency_id = Companies:id
+client_id = core_company:id
+agency_id = core_company:id
 team_id = Groups:id
 open_by = Person:id
 owner_id = Person:id
 
 [ProjectDirectory]
 person_id = Person:id
-project_id = Projects:id
+project_id = core_project:id
 
 
 [Groups]
@@ -70,7 +94,7 @@ method_id = core_enum:id
 [database__render]
 Projects = name
 Companies = name
-Office =  name
+core_office: =  name
 Person = name
 Groups = name
 Images = filename
@@ -78,10 +102,73 @@ Images = filename
  
 [ProjectDirectory]
 person_id = Person:id
-project_id = Projects:id
-office_id = Office:id
-company_id = Companies:id
+project_id = core_project:id
+office_id = core_office::id
+company_id = core_company:id
 
 [core_email]
 owner_id = Person:id
 bcc_group = Groups:id
+:id
+open_by = core_person:id
+owner_id = core_person:id
+
+[ProjectDirectory]
+person_id = core_person:id
+project_id = core_project:id
+
+
+[Groups]
+leader = core_person:id
+
+[group_members]
+group_id = Groups:id
+user_id =  core_person:id
+
+[group_rights]
+group_id = Groups:id
+
+[Events]
+person_id = core_person:id
+
+[core_event_audit]
+event_id = Events:id
+old_audit_id = core_event_audit:id
+
+[core_watch]
+person_id = core_person:id
+
+[core_person_alias]
+person_id = core_person:id
+
+[core_notify]
+person_id = core_person:id
+event_id = Events:id
+watch_id = core_watch:id
+trigger_person_id = core_person:id
+trigger_event_id = Events:id
+domain_id = core_domain:id
+
+[core_notify_recur]
+person_id = core_person:id
+last_event_id = Events:id
+method_id = core_enum:id
+
+[database__render]
+Projects = name
+Companies = name
+core_office: =  name
+Person = name
+Groups = name
+Images = filename
+
+[ProjectDirectory]
+person_id = core_person:id
+project_id = core_project:id
+office_id = core_office::id
+company_id = core_company:id
+
+[core_email]
+owner_id = core_person:id
+bcc_group = Groups:id