date of join added

master^2
Bhaskar 8 months ago
parent 957780616f
commit 33373c1657

@ -516,6 +516,7 @@ exports.addDepartment = async (request, reply) => {
desginationName,
location,
picture,
dateOfJoin,
createdBy,
updatedBy,
} = request.body;
@ -559,6 +560,7 @@ exports.addDepartment = async (request, reply) => {
desginationName,
location,
picture,
dateOfJoin,
createdBy,
updatedBy,
});

@ -124,6 +124,7 @@ const citySchema = new mongoose.Schema(
state: String,
country: String,
picture:{type:String},
dateOfJoin : { type: String },
services: { password: { bcrypt: String } },
createdAt: {
type: Date,

@ -205,6 +205,7 @@ module.exports = function (fastify, opts, next) {
reportingManager_mobile_number: { type: "string"},
reportingManager_email: { type: "string"},
picture: { type: "string"},
dateOfJoin: { type: "string"},
location: {
type: "array",
items: { type: "string" },

Loading…
Cancel
Save