Files
Facilitor/APPL/API2/model_fin_btwtabel.inc
Jos Groot Lipman a3af2e944a FSN#40183 Kopie record maken via scaffolding
svn path=/Website/trunk/; revision=33544
2017-04-19 19:53:16 +00:00

67 lines
1.7 KiB
PHP

<% /*
$Revision$
$Id$
File: model_fin_btwtabel.inc
Description: Vanuit CodeCharge gegenereerd model voor fin_btwtabel
Context:
Notes:
*/
%>
<!-- #include file="../api2/model_fin_btwtabelwaarde.inc" -->
<%
function model_fin_btwtabel()
{
this.records_name = "vattables";
this.record_name = "vattable";
this.table = "fin_btwtabel";
this.primary = "fin_btwtabel_key";
this.soft_delete = "fin_btwtabel_verwijder";
this.autfunction = "WEB_FINMSU";
this.record_title = L("fin_btwtabel");
this.records_title = L("fin_btwtabel_m")
this.fields = {
"id": {
"dbs": "fin_btwtabel_key",
"label": L("lcl_key"),
"typ": "key",
"required": true,
"filter": "exact",
"seq": "fin_s_fin_btwtabel_key"
},
"name": {
"dbs": "fin_btwtabel_omschrijving",
"label": L("fin_btwtabel_omschrijving"),
"typ": "varchar",
"translate": true,
"filter": "like"
},
"default": {
"dbs": "fin_btwtabel_default",
"label": L("fin_btwtabel_default"),
"typ": "check",
"defaultvalue": "1"
}
};
this.includes = {
"vattablevalues": {
"model": new model_fin_btwtabelwaarde(),
"joinfield": "vattable",
"enable_update": true
}
};
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);
}
%>