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

63 lines
1.6 KiB
PHP

<% /*
$Revision$
$Id$
File: model_mld_impropdr.inc
Description: Vanuit CodeCharge gegenereerd model voor mld_impropdr
Context:
Notes:
*/
%>
<%
function model_mld_impropdr()
{
this.records_name = "unproductivetimes";
this.record_name = "unproductivetime";
this.table = "mld_impropdr";
this.primary = "mld_impropdr_key";
this.soft_delete = "mld_impropdr_verwijder",
this.autfunction = "WEB_MLDMGT",
this.record_title = L("mld_impropdr"),
this.records_title = L("mld_impropdr_m"),
this.fields = {
"id": {
"dbs": "mld_impropdr_key",
"label": "Key",
"typ": "key",
"required": true,
"filter": "exact",
"seq": "mld_s_mld_impropdr_key"
},
"name": {
"dbs": "mld_impropdr_code",
"label": L("mld_impropdr_code"),
"typ": "varchar"
},
"description": {
"dbs": "mld_impropdr_omschrijving",
"label": L("mld_impropdr_omschrijving"),
"typ": "varchar",
"translate": true,
"required": true
},
"expenses": {
"dbs": "mld_impropdr_onkosten",
"label": L("mld_impropdr_onkosten"),
"typ": "check0",
"defaultvalue": "0"
}
};
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);
}
%>