65 lines
1.7 KiB
PHP
65 lines
1.7 KiB
PHP
<% /*
|
|
$Revision$
|
|
$Id$
|
|
|
|
File: model_prs_srtperslid.inc
|
|
|
|
Description: Vanuit CodeCharge gegenereerd model voor prs_srtperslid
|
|
|
|
Context:
|
|
|
|
Notes:
|
|
*/
|
|
%>
|
|
<%
|
|
|
|
function model_prs_srtperslid()
|
|
{
|
|
this.records_name = "employeefunctions";
|
|
this.record_name = "employeefunction";
|
|
this.table = "prs_srtperslid";
|
|
this.primary = "prs_srtperslid_key";
|
|
this.soft_delete = "prs_srtperslid_verwijder";
|
|
this.autfunction = "WEB_PRSMSU";
|
|
this.record_title = L("prs_srtperslid");
|
|
this.records_title = L("prs_srtperslid_m");
|
|
|
|
this.fields = {
|
|
"id": {
|
|
"dbs": "prs_srtperslid_key",
|
|
"label": L("lcl_key"),
|
|
"typ": "key",
|
|
"required": true,
|
|
"filter": "exact",
|
|
"seq": "prs_s_prs_alluitvoerende_keys"
|
|
},
|
|
"name": {
|
|
"dbs": "prs_srtperslid_omschrijving",
|
|
"label": L("prs_srtperslid_omschrijving"),
|
|
"typ": "varchar",
|
|
"translate": true,
|
|
"required": true,
|
|
"filter": "like"
|
|
},
|
|
"hourlywages": {
|
|
"dbs": "prs_srtperslid_uurloon",
|
|
"label": L("prs_srtperslid_uurloon"),
|
|
"iscurrency": true,
|
|
"typ": "float",
|
|
"multiedit": true
|
|
},
|
|
"area": {
|
|
"dbs": "prs_srtperslid_opp",
|
|
"label": L("prs_srtperslid_opp"),
|
|
"typ": "float",
|
|
"multiedit": 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, {});
|
|
}
|
|
%> |