SDN302_-_SU_2025_-_PE_3967.webp
Erza_girl

SDN302_-_SU_2025_-_PE_3967.webp

Kizspy.me
totalOfFloors: {type: Number, required: true},
},{timestamps: true, });
resident ({
residentName: {type: String, required: true, unique: true},
residentDescription: { type: String, required: true},
floor: {type: Number, required: true, min: 1, max: 40},
yOB: {type: Number, required: true, min: 1940, max: 2025},
isOwned: {type: Boolean, default: false},
apartment: {type: mongoose.Schema. Types.ObjectId, ref: "apartment", required: true},
},{timestamps: true, });
account ({
us {type: String, required: true},
pw{type: String, required: true},
},{timestamps: true, });
Task 01 (1.0 mark). Using the Express generator for developing the REST API server, create the related apartments, and
migrate them to a database named SDN302_PE_SU25_StudentCodeDB (MongoDB).
Zoom
+100%
Close
Chưa có bình luận nào.

Thông tin

Category
SDN302
Thêm bởi
Erza_girl
Ngày thêm
Lượt xem
1,953
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom