Files
Facilitor/APPL/API2/model_prs_dienst.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

52 lines
1.2 KiB
PHP

<% /*
$Revision$
$Id$
File: model_prs_dienst.inc
Description: Vanuit CodeCharge gegenereerd model voor prs_dienst
Context:
Notes:
*/
%>
<%
function model_prs_dienst()
{
this.records_name = "services";
this.record_name = "service";
this.table = "prs_dienst";
this.primary = "prs_dienst_key";
this.autfunction = "WEB_PRSMSU";
this.record_title = L("prs_dienst");
this.records_title = L("prs_dienst_m");
this.fields = {
"id": {
"dbs": "prs_dienst_key",
"label": "Key",
"typ": "key",
"required": true,
"filter": "exact",
"seq": "prs_s_prs_dienst_key"
},
"name": {
"dbs": "prs_dienst_omschrijving",
"label": L("prs_dienst_omschrijving"),
"typ": "varchar",
"translate": true,
"required": 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, {});
}
%>