This is basically a design question.I would like to know what is the best way to implement this.
I need to implement a maker-checker-approver functionality.One common way is like below:
If there is Employee entity then employee_mk and employee_app are the two tables which is structurally identically.So when new employee is created it goes to employee_mk table and wait for approval.Once it is approved by higher level user then it removes from employee_mk table and goes to employee_app table. So in short if there is modification it goes to customer_temp table and other user can't see change until it is verified by authorised user.
is there any other way to implement this? basically at one point of time there will be two values of fields of entity.What can be different ways other than mentioned above to implement and design this.