Changeset 55ed171 for backend/models
- Timestamp:
- 10/15/22 15:28:57 (2 years ago)
- Branches:
- master
- Children:
- 113029b
- Parents:
- ee05663
- Location:
- backend/models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
backend/models/orderModel.js
ree05663 r55ed171 35 35 totalPrice: { type: Number, required: true }, 36 36 user: { type: mongoose.Schema.Types.ObjectId, ref: "User", required: true }, 37 isConfirmed: { type: Boolean, default: false }, 37 38 isPaid: { type: Boolean, default: false }, 39 contactNumber: { type: String }, 38 40 paidAt: { type: Date }, 39 41 paidAtFormat: { type: String }, 42 shippedAt: { type: Date }, 43 isShipped: { type: Boolean, default: false }, 40 44 isDelivered: { type: Boolean, default: false }, 41 45 deliveredAt: { type: Date }, -
backend/models/productModel.js
ree05663 r55ed171 7 7 image: { type: String, required: true }, 8 8 sideImage: { type: String, required: true }, 9 sideImage2: { type: String, required: true }, 9 10 dimension: { type: String, required: true }, 10 11 scheme: { type: String, required: true },
Note:
See TracChangeset
for help on using the changeset viewer.