|
|
@ -250,7 +250,7 @@ const motorSwitchSensorInSchema = new mongoose.Schema({
|
|
|
|
|
|
|
|
|
|
|
|
const insensorsSchema = new mongoose.Schema({
|
|
|
|
const insensorsSchema = new mongoose.Schema({
|
|
|
|
storeId: { type: String },
|
|
|
|
storeId: { type: String },
|
|
|
|
hardwareId: { type: String },
|
|
|
|
hardwareId: { type: String ,default:null},
|
|
|
|
masterId: { type: String, default: null },
|
|
|
|
masterId: { type: String, default: null },
|
|
|
|
type: { type: String },
|
|
|
|
type: { type: String },
|
|
|
|
model: { type: String },
|
|
|
|
model: { type: String },
|
|
|
|