salix/modules/client/back/models/client-contact.js

10 lines
207 B
JavaScript

module.exports = Self => {
Self.validatesPresenceOf('name', {
message: 'Name cannot be blank'
});
Self.validatesPresenceOf('phone', {
message: 'Phone cannot be blank'
});
};