<% /*
    $Revision$
    $Id$

    File:           model_mld_impropdr.inc

    Description:    Vanuit CodeCharge gegenereerd model voor mld_impropdr

    Context:

    Notes:
*/
%>
<%

function model_mld_impropdr()
{
    this.table = "mld_impropdr";
    this.primary = "mld_impropdr_key";
    this.records_name = "mld_impropdrs";
    this.record_name = "mld_impropdr";
    this.soft_delete = "mld_impropdr_verwijder",
    this.autfunction = "WEB_MLDMGT",
    this.record_title = L("mld_impropdr"),
    this.records_title = L("mld_impropdr_m"),


    this.fields = {
        "id": {
            "dbs": "mld_impropdr_key",
            "label": "Key",
            "typ": "key",
            "required": true,
            "filter": "exact",
            "seq": "mld_s_mld_impropdr_key"
        },
        "name": {
            "dbs": "mld_impropdr_code",
            "label": L("mld_impropdr_code"),
            "typ": "varchar"
        },
        "description": {
            "dbs": "mld_impropdr_omschrijving",
            "label": L("mld_impropdr_omschrijving"),
            "typ": "varchar",
            "translate": true,
            "required": true
        },
        "expenses": {
            "dbs": "mld_impropdr_onkosten",
            "label": L("mld_impropdr_onkosten"),
            "typ": "check0",
            "defaultvalue": "0"
        }
    };


    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);
}
%>