Files
Facilitor/APPL/API2/model_fac_notificatiejob.inc
Erik Groener 7a46c9fb5b FSN#35338 Bevindingen beheerschermen 2016.1
svn path=/Website/trunk/; revision=29108
2016-04-21 10:13:53 +00:00

103 lines
3.1 KiB
PHP

<% /*
$Revision$
$Id$
File: model_fac_notificatiejob.inc
Description: Vanuit CodeCharge gegenereerd model voor fac_notificatiejob
Context:
Notes:
*/
%>
<%
function model_fac_notificatiejob()
{
this.table = "fac_notificatie_job";
this.primary = "fac_notificatie_job_key";
this.records_name = "fac_notificatie_jobs";
this.record_name = "fac_notificatie_job";
this.autfunction = "WEB_PRSSYS";
this.record_title = L("fac_notificatie_job");
this.records_title = L("fac_notificatie_job_m");
this.fields = {
"id": {
"dbs": "fac_notificatie_job_key",
"label": "Key",
"typ": "key",
"hidden_fld": true,
"required": true,
"filter": "exact",
"seq": "fac_s_fac_notificatie_job_key"
},
"name": {
"dbs": "fac_notificatie_job_oms",
"label": L("fac_notificatie_job_oms"),
"typ": "varchar",
"required": true,
"translate": true
},
"job_view": {
"dbs": "fac_notificatie_job_view",
"label": L("fac_notificatie_job_view"),
"typ": "varchar",
"required": true
},
"job_mode": {
"dbs": "fac_notificatie_job_mode",
"label": L("fac_notificatie_job_mode"),
"typ": "number",
"bits": [
{
"name": "",
"label": "",
"typ": "check",
"mask": 15,
"radios": [
{
"name": "send_status",
"label": L("fac_notificatie_job_status"),
"mask": 1
},
{
"name": "send_email",
"label": L("fac_notificatie_job_email"),
"mask": 2
},
{
"name": "send_sms",
"label": L("fac_notificatie_job_sms"),
"mask": 4
},
{
"name": "send_alert",
"label": L("fac_notificatie_job_alert"),
"mask": 8
}
]
}
]
},
"job_interval": {
"dbs": "fac_notificatie_job_interval",
"label": L("fac_notificatie_job_interval"),
"typ": "number"
},
"job_nextrun": {
"dbs": "fac_notificatie_job_nextrun",
"label": L("fac_notificatie_job_nextrun"),
"typ": "datetime"
}
};
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);
}
%>