salix/services/agency/common/models/zone.js

10 lines
227 B
JavaScript

module.exports = Self => {
Self.validatesPresenceOf('warehouseFk', {
message: `Warehouse cannot be blank`
});
Self.validatesPresenceOf('agencyModeFk', {
message: `Agency cannot be blank`
});
};