Files
Facilitor/APPL/API2/model_res_opstelling.inc
Erik Groener fb441b1705 FSN#39312 Verder ontsluiten van modellen via de API
svn path=/Website/trunk/; revision=32984
2017-02-28 15:31:59 +00:00

67 lines
1.6 KiB
PHP

<% /*
$Revision$
$Id$
File: model_res_opstelling.inc
Description: Vanuit CodeCharge gegenereerd model voor res_opstelling
Context:
Notes:
*/
%>
<%
function model_res_opstelling()
{
this.records_name = "bookingconfigurations";
this.record_name = "bookingconfiguration";
this.table = "res_opstelling";
this.primary = "res_opstelling_key";
this.soft_delete = "res_opstelling_verwijder";
this.autfunction = "WEB_RESMGT";
this.record_title = L("res_opstelling");
this.records_title = L("res_opstelling_m");
this.fields = {
"id": {
"dbs": "res_opstelling_key",
"label": "Key",
"typ": "key",
"required": true,
"filter": "exact",
"seq": "res_s_res_opstelling_key"
},
"name": {
"dbs": "res_opstelling_omschrijving",
"label": L("res_opstelling_omschrijving"),
"typ": "varchar",
"translate": true,
"required": true
},
"sequence": {
"dbs": "res_opstelling_volgnr",
"label": L("res_opstelling_volgnr"),
"typ": "number"
}
};
this.list = {
"columns": [
"id",
"name",
"sequence"
]
};
this.search = {
"autosearch": true
};
this.REST_GET = generic_REST_GET(this, this.gparams);
this.REST_POST = generic_REST_POST(this);
this.REST_PUT = generic_REST_PUT(this);
this.REST_DELETE = generic_REST_DELETE(this, {});
}
%>