Files
Facilitor/APPL/API2/model_alg_srtterreinsector.inc
Jos Groot Lipman c16d5c60c4 FSN#38471 Bedragen via scaffolding centen tonen
svn path=/Website/trunk/; revision=31546
2016-11-17 13:23:35 +00:00

93 lines
2.7 KiB
PHP

<% /*
$Revision$
$Id$
File: model_alg_srtterreinsector.inc
Description: Vanuit CodeCharge gegenereerd model voor alg_srtterreinsector
Context:
Notes:
*/
%>
<%
function model_alg_srtterreinsector()
{
this.table = "alg_srtterreinsector";
this.primary = "alg_srtterreinsector_key";
this.records_name = "alg_srtterreinsectors";
this.record_name = "alg_srtterreinsector";
this.soft_delete = "alg_srtterreinsector_verwijder";
this.autfunction = "WEB_ALGMSU";
this.record_title = L("alg_srtterreinsector");
this.records_title = L("alg_srtterreinsector_m");
this.fields = {
"id": {
"dbs": "alg_srtterreinsector_key",
"label": "Key",
"typ": "key",
"required": true,
"filter": "exact",
"seq": "alg_s_alg_srtterrein_key"
},
"name": {
"dbs": "alg_srtterreinsec_omschrijving",
"label": L("alg_srtterreinsec_omschrijving"),
"typ": "varchar",
"translate": true,
"required": true
},
"price_1": {
"dbs": "alg_srtterreinsector_prijs",
"label": L("alg_srtterreinsector_prijs"),
"iscurrency": true,
"typ": "float"
},
"price_2": {
"dbs": "alg_srtterreinsector_prijs2",
"label": L("alg_srtterreinsector_prijs2"),
"iscurrency": true,
"typ": "float"
},
"price_3": {
"dbs": "alg_srtterreinsector_prijs3",
"label": L("alg_srtterreinsector_prijs3"),
"iscurrency": true,
"typ": "float"
},
"price_4": {
"dbs": "alg_srtterreinsector_prijs4",
"label": L("alg_srtterreinsector_prijs4"),
"iscurrency": true,
"typ": "float"
},
"price_5": {
"dbs": "alg_srtterreinsector_prijs5",
"label": L("alg_srtterreinsector_prijs5"),
"iscurrency": true,
"typ": "float"
},
"rentable": {
"dbs": "prs_verhuurbaar",
"label": L("prs_verhuurbaar"),
"iscurrency": true,
"typ": "check"
},
"code": {
"dbs": "alg_srtterreinsector_code",
"label": L("alg_srtterreinsector_code"),
"iscurrency": true,
"typ": "varchar"
}
};
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);
}
%>