<% /*
    $Revision$
    $Id$

    File:           model_mld_behandelgroep.inc

    Description:    Vanuit CodeCharge gegenereerd model voor mld_behandelgroep

    Context:

    Notes:
*/
%>
<%

function model_mld_behandelgroep()
{
    this.table = "mld_behandelgroep";
    this.primary = "mld_behandelgroep_key";
    this.records_name = "mld_behandelgroeps";
    this.record_name = "mld_behandelgroep";
    this.autfunction = "WEB_MLDMGT";
    this.record_title = L("mld_behandelgroep");
    this.records_title = L("mld_behandelgroep_m");


    this.fields = {
        "id": {
            "dbs": "mld_behandelgroep_key",
            "label": "Key",
            "typ": "key",
            "hidden_fld": true,
            "required": true,
            "filter": "exact",
            "seq": "mld_s_mld_behandelgroep_key",
            "defaultvalue": null
        },
        "name": {
            "dbs": "mld_behandelgroep_naam",
            "label": L("mld_behandelgroep_naam"),
            "typ": "varchar",
            "required": true,
            "translate": true
        },
        "description": {
            "dbs": "mld_behandelgroep_oms",
            "label": L("mld_behandelgroep_oms"),
            "typ": "varchar",
            "translate": 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);
}
%>