salix/modules/client/back/models/greuge.js

9 lines
225 B
JavaScript
Raw Normal View History

2017-12-04 07:17:29 +00:00
module.exports = function(Self) {
require('../methods/greuge/sumAmount')(Self);
2018-01-11 10:22:56 +00:00
Self.validatesLengthOf('description', {
max: 45,
message: 'Description should have maximum of 45 characters'
2018-01-11 10:22:56 +00:00
});
2017-12-04 07:17:29 +00:00
};