64 lines
1.6 KiB
PHP
64 lines
1.6 KiB
PHP
<% /*
|
|
$Revision$
|
|
$Id$
|
|
|
|
File: model_bez_actie.inc
|
|
|
|
Description: Vanuit CodeCharge gegenereerd model voor bez_actie
|
|
|
|
Context:
|
|
|
|
Notes:
|
|
*/
|
|
%>
|
|
<%
|
|
|
|
function model_bez_actie()
|
|
{
|
|
this.records_name = "visitoractions";
|
|
this.record_name = "visitoraction";
|
|
this.table = "bez_actie";
|
|
this.primary = "bez_actie_key";
|
|
this.soft_delete = "bez_actie_verwijder";
|
|
this.autfunction = "WEB_BEZMGT";
|
|
this.record_title = L("bez_actie");
|
|
this.records_title = L("bez_actie_m");
|
|
|
|
|
|
this.fields = {
|
|
"id": {
|
|
"dbs": "bez_actie_key",
|
|
"label": "Key",
|
|
"typ": "key",
|
|
"required": true,
|
|
"filter": "exact",
|
|
"seq": "bez_s_bez_actie_key"
|
|
},
|
|
"name": {
|
|
"dbs": "bez_actie_omschrijving",
|
|
"label": L("bez_actie_omschrijving"),
|
|
"typ": "varchar",
|
|
"required": true,
|
|
"translate": true
|
|
},
|
|
"default": {
|
|
"dbs": "bez_actie_default",
|
|
"label": L("bez_actie_default"),
|
|
"typ": "check"
|
|
},
|
|
"action": {
|
|
"dbs": "bez_actie_flags",
|
|
"label": L("bez_actie_flags"),
|
|
"typ": "key",
|
|
"required": true,
|
|
"LOV": L("bez_actie_flagsLOV")
|
|
}
|
|
};
|
|
|
|
|
|
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, {});
|
|
}
|
|
%> |