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

9 lines
225 B
JavaScript

module.exports = function(Self) {
require('../methods/greuge/sumAmount')(Self);
Self.validatesLengthOf('description', {
max: 45,
message: 'Description should have maximum of 45 characters'
});
};