Files
Facilitor/APPL/API2/model_issueobjects.inc
Jos Groot Lipman c13a7a71af Merge 2023.2 Gold D changes
svn path=/Website/trunk/; revision=61928
2023-09-27 10:26:18 +00:00

32 lines
1.1 KiB
PHP

<% /*
$Revision$
$Id$
File: model_issueobjects.inc
Description: Meldingobjecten model
Parameters:
Context:
Notes:
*/
function model_issueobjects()
{
this.table = "mld_melding_object";
this.primary = "mld_melding_object_key";
this.records_name = "issueobjects";
this.record_name = "issueobject";
this.autfunction = false; // Kan alleen vanuit model_issue aangeroepen worden. De autorisatie is daar al geregeld.
this.fields = {"id" : { dbs: "mld_melding_object_key", typ: "key", seq: "mld_s_mld_object_key" },
"object" : { dbs: "ins_deel_key", typ: "key", foreign: "ins_deel" },
"issue" : { dbs: "mld_melding_key", typ: "key" },
"inspection": { dbs: "ins_deelsrtcontrole_key", typ: "key" }
};
this.REST_GET = generic_REST_GET(this);
this.REST_POST = generic_REST_POST(this);
this.REST_PUT = generic_REST_PUT(this);
this.REST_DELETE = generic_REST_DELETE(this);
}
%>