... | @@ -22,6 +22,11 @@ Adiciona supplier |
... | @@ -22,6 +22,11 @@ Adiciona supplier |
|
{
|
|
{
|
|
name: {type: String, required: true},
|
|
name: {type: String, required: true},
|
|
phone: {type: String, required: true},
|
|
phone: {type: String, required: true},
|
|
|
|
address: {type: String, required: true},
|
|
|
|
loc: {
|
|
|
|
type: {type: String, default: 'Point'},
|
|
|
|
coordinates: {type: [Number], default: [0, 0]}
|
|
|
|
}
|
|
}
|
|
}
|
|
````
|
|
````
|
|
|
|
|
... | | ... | |