@ -547,6 +547,7 @@ exports.addDepartment = async (request, reply) => {
location,
picture,
dateOfJoin,
employeeType,
createdBy,
updatedBy,
} = request.body;
@ -591,6 +592,7 @@ exports.addDepartment = async (request, reply) => {
});
@ -137,6 +137,7 @@ const citySchema = new mongoose.Schema(
country: String,
picture:{type:String},
dateOfJoin : { type: String },
employeeType: {type: String },
services: { password: { bcrypt: String } },
team_member: {
@ -212,6 +212,7 @@ module.exports = function (fastify, opts, next) {
reportingManager_email: { type: "string"},
picture: { type: "string"},
dateOfJoin: { type: "string"},
employeeType: { type: "string"},
location: {
type: "array",
items: { type: "string" },