Closed Yuhan-Ut closed 1 year ago
[*]modify UserFactory so it can set or store temporary instance and use those instance to generate User/dummyuser in getuser function
[*]Modify Iuser, so this interface include abstract functions supposed to return instance of user and dummyuser,(may add more function later)
[+]Add constructor for Userfactory
[+]Add quickGetUser in Userfactory, using default value stored to create desired type User
[*]cleaning up some Redundant code in UserFactory
ps. this is modified from a history version of your branch, I am not sure if this will cover your changes, sorry for the inconvenient and this uncertainty.
userfactory entity and add a shared interface of user and dummyuser