planettelex / Songtracker-Pro

Music Income Tracking for Record Labels, Publishers, and Artists
MIT License
3 stars 0 forks source link

Refactor API To Have Login Entity Persist In Database #38

Closed RobDixonIII closed 3 years ago

RobDixonIII commented 3 years ago

Remove AuthenticationId, AuthenticationToken, and LastLogin from the User entity. Expand the Login class to have Id, UserId, LoginOn, and LogoutOn datetime fields. Login may also contain the User entity, to save a server request on login.