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

10 lines
207 B
JavaScript
Raw Permalink Normal View History

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