'use strict';
moduloTipooferta.factory('tipoofertaService', ['serverService', function (serverService) {
        return {
            getFields: function () {
                return [
                    {name: "id", shortname: "ID", longname: "Identificador", visible: true, type: "id"},
                    {name: "categoria", shortname: "Categoría", longname: "Categoría", visible: true, type: "text", required: true, maxlength: 255, pattern: serverService.getRegExpr("nombre"), help: serverService.getRegExpl("nombre")}
                ];
            },
            getIcon: function () {
                return "fa fa-asterisk";
            },
            getObTitle: function () {
                return "tipo de oferta";
            },
            getTitle: function () {
                return "tipooferta";
            }
        };
    }]);


