<% /*
    $Revision$
    $Id$

    File:           model_prs_srtperslid.inc

    Description:    Vanuit CodeCharge gegenereerd model voor prs_srtperslid

    Context:

    Notes:
*/
%>
<%

function model_prs_srtperslid()
{
    this.table = "prs_v_aanwezigsrtperslid";
    this.primary = "prs_srtperslid_key";
    this.records_name = "prs_v_aanwezigsrtperslids";
    this.record_name = "prs_v_aanwezigsrtperslid";
    this.soft_delete = "prs_srtperslid_verwijder";
    this.autfunction = "WEB_PRSMSU";
    this.record_title = L("prs_v_aanwezigsrtperslid");
    this.records_title = L("prs_v_aanwezigsrtperslid_m");

    this.fields = {
        "id": {
            "dbs": "prs_srtperslid_key",
            "label": "Key",
            "typ": "key",
            "required": true,
            "filter": "exact",
            "seq": "prs_s_prs_alluitvoerende_keys"
        },
        "name": {
            "dbs": "prs_srtperslid_omschrijving",
            "label": L("prs_srtperslid_omschrijving"),
            "typ": "varchar",
            "translate": true,
            "required": true,
            "filter": "like"
        },
        "hourly_wages": {
            "dbs": "prs_srtperslid_uurloon",
            "label": L("prs_srtperslid_uurloon"),
            "iscurrency": true,
            "typ": "float"
        },
        "area": {
            "dbs": "prs_srtperslid_opp",
            "label": L("prs_srtperslid_opp"),
            "typ": "float"
        }
    };


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