68 lines
1.8 KiB
PHP
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.records_name = "objectgroups";
|
|
this.record_name = "objectgroup";
|
|
this.table = "ins_srtgroep";
|
|
this.primary = "ins_srtgroep_key";
|
|
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": L("lcl_key"),
|
|
"typ": "key",
|
|
"required": true,
|
|
"filter": "exact",
|
|
"seq": "ins_s_ins_srtgroep_key",
|
|
"defaultvalue": null
|
|
},
|
|
"objectdiscipline": {
|
|
"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, {});
|
|
}
|
|
%> |