Files
Facilitor/APPL/API2/model_ins_srtgroep.inc
Erik Groener f7129dc022 FSN#35338 Alle CodeCharge schermen herschrijven naar gewoon ASP II
svn path=/Website/trunk/; revision=28633
2016-03-25 10:50:06 +00:00

68 lines
1.8 KiB
PHP

<% /*
$Revision$
$Id$
File: model_ins_srtgroep.inc
Description: Vanuit CodeCharge gegenereerd model voor ins_srtgroep
Context:
Notes:
*/
%>
<%
function model_ins_srtgroep()
{
this.table = "ins_srtgroep";
this.primary = "ins_srtgroep_key";
this.records_name = "ins_srtgroeps";
this.record_name = "ins_srtgroep";
this.soft_delete = "ins_srtgroep_verwijder";
this.autfunction = "WEB_INSMGT";
this.record_title = L("ins_srtgroep");
this.records_title = L("ins_srtgroep_m");
this.fields = {
"id": {
"dbs": "ins_srtgroep_key",
"label": "Key",
"typ": "key",
"required": true,
"filter": "exact",
"seq": "ins_s_ins_srtgroep_key",
"defaultvalue": null
},
"catalogue": {
"dbs": "ins_discipline_key",
"label": L("ins_srtgroep_catalogus"),
"typ": "key",
"required": true,
"insertonly": true,
"foreign": {
"tbl": "ins_v_aanwezigdiscipline",
"key": "ins_discipline_key",
"desc": "ins_discipline_omschrijving"
},
"LOVinit": "",
"defaultvalue": null
},
"name": {
"dbs": "ins_srtgroep_omschrijving",
"label": L("ins_srtgroep_omschrijving"),
"typ": "varchar",
"required": true,
"translate": true,
"filter": "like"
}
};
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, {});
}
%>