|
|
@ -30,8 +30,10 @@ const RoleSchema = new Schema({ name: String });
|
|
|
|
|
|
|
|
|
|
|
|
// });
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const tanksSchema = new mongoose.Schema({
|
|
|
|
const tanksSchema = new mongoose.Schema({
|
|
|
|
hardwareId: { type: String },
|
|
|
|
hardwareId: { type: String },
|
|
|
|
|
|
|
|
|
|
|
|
tankhardwareId: { type: String },
|
|
|
|
tankhardwareId: { type: String },
|
|
|
|
hardwareId_type: { type: String },
|
|
|
|
hardwareId_type: { type: String },
|
|
|
|
motor_id:{ type: String ,default: null},
|
|
|
|
motor_id:{ type: String ,default: null},
|
|
|
|