salix/services/client/common/models/greuge.js

10 lines
276 B
JavaScript

module.exports = function(Self) {
require('../methods/greuge/filter.js')(Self);
require('../methods/greuge/sumAmount.js')(Self);
Self.validatesLengthOf('description', {
max: 45,
message: 'La description debe tener maximo 45 caracteres'
});
};