salix/modules/client/back/models/bank-entity.js

9 lines
209 B
JavaScript

module.exports = Self => {
Self.validatesPresenceOf('name', {
message: `Name cannot be blank`
});
Self.validatesPresenceOf('bic', {
message: `Swift / BIC can't be empty`
});
};