<% /*
    $Revision$
    $Id$

    File:           model_cnt_termijn.inc

    Description:    Vanuit CodeCharge gegenereerd model voor cnt_termijn

    Context:

    Notes:
*/
%>
<%

function model_cnt_termijn()
{
    this.table = "cnt_termijn";
    this.primary = "cnt_termijn_key";
    this.records_name = "cnt_termijns";
    this.record_name = "cnt_termijn";
    this.autfunction = "WEB_CNTMGT";
    this.record_title = L("cnt_termijn");
    this.records_title = L("cnt_termijn_m");

    this.fields = {
        "id": {
            "dbs": "cnt_termijn_key",
            "label": "Key",
            "typ": "key",
            "required": true,
            "filter": "exact",
            "seq": "cnt_s_cnt_termijn_key"
        },
        "name": {
            "dbs": "cnt_termijn_omschrijving",
            "label": L("cnt_termijn_omschrijving"),
            "typ": "varchar",
            "translate": true,
            "filter" : "like"
        },
        "type": {
            "dbs": "cnt_termijn_type",
            "label": L("cnt_termijn_type"),
            "typ": "varchar",
            "required": true,
            "LOV": L("cnt_termijn_typeLOV")
        },
        "number": {
            "dbs": "cnt_termijn_aantal",
            "label": L("cnt_termijn_aantal"),
            "typ": "number"
        },
        "sequence": {
            "dbs": "cnt_termijn_volgnummer",
            "label": L("cnt_termijn_volgnummer"),
            "typ": "number"
        }
    };


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