Open arupcse opened 7 years ago
You can apply OOP principle while designing a database. Seek for re-usability, consistency. The design should be manageable, extendable and scalable in the long run. Think about the following:
User
-------------
* Id
- Username
- Password
- IsDeleted
- IsActive
* CreateDate
* UpdateDate
* CreatedBy (UserId)
* UpdatedBy (UserId)
Task
-------------
* Id
- Title
- StartDateTime
- EndDateTime
- Assignee (UserId)
- Status (TaskStatusId)
- IsDeleted
* CreateDate
* UpdateDate
* CreatedBy (UserId)
* UpdatedBy (UserId)
Status
--------------
* Id
- Name
- Description
- IsDeleted
* CreateDate
* UpdateDate
* CreatedBy (UserId)
* UpdatedBy (UserId)
User