Files
Facilitor/APPL/API2/model_fac_email_setting.inc
Erik Groener e3624170ac FSN#39312 Verder ontsluiten van modellen via de API
svn path=/Website/trunk/; revision=32963
2017-02-27 10:52:47 +00:00

78 lines
2.1 KiB
PHP

<% /*
$Revision$
$Id$
File: model_fac_email_setting.inc
Description:
Context:
Notes:
*/
%>
<%
function fac_email_setting()
{
this.records_name = "emailsettings";
this.record_name = "emailsetting";
this.table = "fac_email_setting";
this.primary = "fac_email_setting_key";
this.autfunction = "WEB_FACTAB";
this.record_title = L("fac_email_setting");
this.records_title = L("fac_email_setting_m");
this.fields = {
"id": {
"dbs": "fac_email_setting_key",
"label": L("lcl_key"),
"typ": "key",
"required": true,
"filter": "exact",
"seq": "fac_s_fac_email_setting_key",
"defaultvalue": null
},
"name": {
"dbs": "fac_email_setting_user",
"label": L("fac_email_setting_user"),
"typ": "varchar",
"required": true
},
"from": {
"dbs": "fac_email_setting_from",
"label": L("fac_email_setting_from"),
"typ": "varchar"
},
"frommode": {
"dbs": "fac_email_setting_frommode",
"label": L("fac_email_setting_frommode"),
"typ": "number",
"required": true,
"LOV": L("fac_email_setting_frommodeLOV")
},
"action": {
"dbs": "fac_email_setting_action",
"label": L("fac_email_setting_action"),
"typ": "varchar"
},
"expire": {
"dbs": "fac_email_setting_expire",
"label": L("fac_email_setting_expire"),
"typ": "date",
"readonly": true
},
"attachmentspath": {
"dbs": "fac_email_setting_attachpath",
"label": L("fac_email_setting_attachpath"),
"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);
}
%>