Files
Facilitor/APPL/API2/model_mld_dienstniveau.inc
Erik Groener d9aeb30187 FSN#39312 Verder ontsluiten van modellen via de API
svn path=/Website/trunk/; revision=32908
2017-02-22 15:51:14 +00:00

65 lines
1.6 KiB
PHP

<% /*
$Revision$
$Id$
File: model_mld_dienstniveau.inc
Description: Vanuit CodeCharge gegenereerd model voor mld_dienstniveau
Context:
Notes:
*/
%>
<!-- #include file="../api2/model_mld_dienstpakket.inc" -->
<%
function model_mld_dienstniveau()
{
this.records_name = "servicelevels";
this.record_name = "servicelevel";
this.table = "mld_dienstniveau";
this.primary = "mld_dienstniveau_key";
this.autfunction = "WEB_MLDMGT";
this.record_title = L("mld_dienstniveau");
this.records_title = L("mld_dienstniveau_m");
this.fields = {
"id": {
"dbs": "mld_dienstniveau_key",
"label": "Key",
"typ": "key",
"filter": "exact",
"seq": "mld_s_dienstniveau_key"
},
"name": {
"dbs": "mld_dienstniveau_omschr",
"label": L("mld_dienstniveau_omschr"),
"required": true,
"typ": "varchar",
"translate": true
},
"description": {
"dbs": "mld_dienstniveau_opmerking",
"label": L("mld_dienstniveau_opmerking"),
"typ": "memo",
"translate": true
}
};
this.includes = {
"dienstpakket": {
"model": new model_mld_dienstpakket(),
"joinfield": "level"
}
};
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);
}
%>