This commit introduces the new `EGUser` class, which replaces the existing `User` class in multiple files, including `EnvelopeModel.vb`, `State.vb`, and `UserModel.vb`. The `EGUser` class extends `User`, adding new properties while maintaining existing functionality. Key changes include: - Updated property types from `User` to `EGUser` in relevant models. - Method signatures in `UserModel.vb` modified to accept and return `EGUser`. - Domain entities in `Envelope.cs` and `EnvelopeHistory.cs` now reference `EGUser`. - Complete removal of the `User.cs` file. - Added a new package reference for `UserManager.Domain` in the project file. - Updated `MYUSER` variable in `ModuleSettings.vb` to use `EGUser`. These changes enhance the user model to better meet application requirements.
13 lines
386 B
VB.net
13 lines
386 B
VB.net
Imports DigitalData.Modules.Database
|
|
Imports DigitalData.Modules.Logging
|
|
Imports EnvelopeGenerator.Domain.Entities
|
|
|
|
Public Class State
|
|
Public Property UserId As Integer
|
|
Public Property User As EGUser
|
|
Public Property Config As Config
|
|
Public Property DbConfig As DbConfig
|
|
Public Property LogConfig As LogConfig
|
|
Public Property Database As MSSQLServer
|
|
End Class
|