<% /*
    $Revision$
    $Id$

    File:           model_mld_afmeldtekst.inc

    Description:    Vanuit CodeCharge gegenereerd model voor mld_afmeldtekst

    Context:

    Notes:
*/
%>
<%

model_mld_afmeldtekst =
{
  "table": "mld_afmeldtekst",
  "primary": "mld_afmeldtekst_key",
  "records_name": "mld_afmeldteksts",
  "record_name": "mld_afmeldtekst",
  "fields": {
    "id": {
      "dbs": "mld_afmeldtekst_key",
      "label": "Key",
      "typ": "key",
      "filter": "exact",
      "seq": "mld_s_mld_afmeldtekst_key"
    },
    "name": {
      "dbs": "mld_afmeldtekst_naam",
      "label": L("mld_afmeldtekst_naam"),
      "filter": "like",
      "typ": "varchar",
      "translate": true
    },
    "description": {
      "dbs": "mld_afmeldtekst_omschrijving",
      "label": L("mld_afmeldtekst_omschrijving"),
      "filter": "like",
      "typ": "memo",
      "translate": true
    },
    "discipline": {
      "dbs": "mld_ins_discipline_key",
      "label": L("mld_ins_discipline_key"),
      "typ": "key",
      "foreign": "MLD_DISCIPLINE"    },
    "issuetype": {
      "dbs": "mld_stdmelding_key",
      "label": L("mld_stdmelding_key"),
      "typ": "key",
      "foreign": "MLD_STDMELDING"
    },
    "usefor": {
      "dbs": "mld_afmeldtekst_usefor",
      "label": L("mld_afmeldtekst_usefor"),
      "typ": "number",
      "LOV": L("mld_afmeldtekst_useforLOV"),
      "emptyoption": null
    }
  },
  "list": {
    "columns": [
      "id",
      "discipline",
      "issuetype",
      "name",
      "description"
    ]
  },
  "search": {
    "autosearch": true,
    "filters": [
      "discipline",
      "name",
      "description"
    ]
  },
  "autfunction": "WEB_MLDMGT",
  "record_title": L("mld_afmeldtekst"),
  "records_title": L("mld_afmeldtekst_m")
  // hashints: true
}

api2.generic_REST(model_mld_afmeldtekst);
%>
