iamurmani / skilluptechie

MIT License
5 stars 3 forks source link

Create a Model Class for Question in MongoDB #23

Open iamurmani opened 2 weeks ago

iamurmani commented 2 weeks ago

Objective

To design and implement a model class named Question for a MongoDB database. This class should encapsulate the essential properties and methods required to interact with the database for CRUD operations. The properties of the Question class will include id, name, status, description, and code.

Properties

  1. id: A unique identifier for the question. This will typically be the MongoDB ObjectId.
  2. name: A string representing the name of the question.
  3. status: A string representing the status of the question (e.g., "active", "inactive").
  4. description: A string providing a detailed description of the question.
  5. code: A string or document containing the code related to the question.
mani627 commented 2 weeks ago

i will take this task