Model whitebeardorders
Permissions
| User Group | Create? | Read? | Update? | Delete? |
|---|
| admin | x | x | x | x |
| owner | x | x | x | x |
| user | | x | | |
| all | | | | |
Fields
| Name | Type | Link | Maps To | Default | Indexed? | Unique? | Required? |
|---|
| __v | Number | | | | | | |
| _deleted | Boolean | | | false | x | | |
| _id | ObjectID | | | [Function] | | | |
| _owner_id | ObjectID | User | _owner | | x | | |
| _updated_by_id | ObjectID | User | _updated_by | | x | | |
| address | String | | | | | | |
| authorization | Mixed | | | | | | |
| cart | Array of Mixed | | | [Function] | | | |
| createdAt | Date | | | | | | |
| id | String | | | | x | x | |
| items_details | Array of Mixed | | | [Function] | | | |
| lastUpdate | Date | | | | x | | |
| paymentMethod | String | | | | x | | |
| price | String | | | | | | |
| price_matrix.discount | Number | | | | | | |
| price_matrix.shipping | Number | | | | | | |
| price_matrix.subtotal | Number | | | | | | |
| price_matrix.tax | Number | | | | | | |
| price_matrix.total | Number | | | | | | |
| responseMessage | Mixed | | | | | | |
| shippingStatus | String | | | | x | | |
| shipping_address | Mixed | | | | | | |
| shipping_price | String | | | | | | |
| status | String | | | | x | | |
| tax_price | String | | | | | | |
| timestamp | Date | | | | x | | |
| updatedAt | Date | | | | | | |
| userId | String | | | | x | | |
Field Details
__v
{
"path": "__v",
"instance": "Number",
"options": {},
"validators": []
}_deleted
{
"path": "_deleted",
"instance": "Boolean",
"options": {
"default": false,
"index": true
},
"validators": [],
"defaultValue": false
}_id
{
"path": "_id",
"instance": "ObjectID",
"options": {
"auto": true,
"type": "ObjectId"
},
"validators": [],
"defaultValue": "[Function]"
}_owner_id
{
"path": "_owner_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_owner",
"index": true
},
"validators": []
}_updated_by_id
{
"path": "_updated_by_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_updated_by",
"index": true
},
"validators": []
}address
{
"path": "address",
"instance": "String",
"options": {},
"validators": []
}authorization
{
"path": "authorization",
"instance": "Mixed",
"options": {},
"validators": []
}cart
{
"path": "cart",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}id
{
"path": "id",
"instance": "String",
"options": {
"index": true,
"unique": true
},
"validators": []
}items_details
{
"path": "items_details",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}lastUpdate
{
"path": "lastUpdate",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}paymentMethod
{
"path": "paymentMethod",
"instance": "String",
"options": {
"index": true
},
"validators": []
}price
{
"path": "price",
"instance": "String",
"options": {},
"validators": []
}price_matrix.discount
{
"path": "price_matrix.discount",
"instance": "Number",
"options": {},
"validators": []
}price_matrix.shipping
{
"path": "price_matrix.shipping",
"instance": "Number",
"options": {},
"validators": []
}price_matrix.subtotal
{
"path": "price_matrix.subtotal",
"instance": "Number",
"options": {},
"validators": []
}price_matrix.tax
{
"path": "price_matrix.tax",
"instance": "Number",
"options": {},
"validators": []
}price_matrix.total
{
"path": "price_matrix.total",
"instance": "Number",
"options": {},
"validators": []
}responseMessage
{
"path": "responseMessage",
"instance": "Mixed",
"options": {},
"validators": []
}shippingStatus
{
"path": "shippingStatus",
"instance": "String",
"options": {
"index": true
},
"validators": []
}shipping_address
{
"path": "shipping_address",
"instance": "Mixed",
"options": {},
"validators": []
}shipping_price
{
"path": "shipping_price",
"instance": "String",
"options": {},
"validators": []
}status
{
"path": "status",
"instance": "String",
"options": {
"index": true
},
"validators": []
}tax_price
{
"path": "tax_price",
"instance": "String",
"options": {},
"validators": []
}timestamp
{
"path": "timestamp",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}userId
{
"path": "userId",
"instance": "String",
"options": {
"index": true
},
"validators": []
}