salix/services/loopback/common/models/ticket-tracking.js

6 lines
176 B
JavaScript

module.exports = function(Self) {
require('../methods/ticket-tracking/changeState')(Self);
Self.validatesPresenceOf('stateFk', {message: 'State cannot be blank'});
};