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.
31 lines
1.2 KiB
VB.net
31 lines
1.2 KiB
VB.net
Imports DigitalData.Modules.Database
|
|
Imports DigitalData.Modules.Logging
|
|
Imports EnvelopeGenerator.CommonServices
|
|
Imports EnvelopeGenerator.Domain.Entities
|
|
|
|
Module ModuleSettings
|
|
Public ENVELOPE_TEMP_DOCUMENT As String = ""
|
|
Public CurrLogConfig As LogConfig
|
|
Public Directory2Delete As String = ""
|
|
Public MS_GDPICTUREKEY As String = ""
|
|
Public DB_DD_ECM As MSSQLServer = Nothing
|
|
Public DEF_TF_ENABLED As Boolean = False
|
|
Public DEF_TF_ENABLED_WITH_PHONE As Boolean = False
|
|
Public MYUSER As EGUser
|
|
Public MyTempFiles As TempFiles
|
|
Public SQL_REP_ENV_USER_LM As String = ""
|
|
Public SQL_REP_ENV_USER_TM As String = ""
|
|
Public SQL_REP_ENV_USER_Y As String = ""
|
|
Public SQL_REP_ENV_USER_ALL As String = ""
|
|
Public SQL_REP_ENV_ALL_USER_MONTH As String = ""
|
|
Public SQL_REP_ENV_ALL_USER_LAST_MONTH As String = ""
|
|
Public DT_CHARTS As DataTable
|
|
Public MyLogger As Logger
|
|
Public USER_GHOST_MODE_USRNAME As String = ""
|
|
Public USER_GHOST_MODE_ACTIVE As Boolean = False
|
|
Public MyUserModel As UserModel
|
|
Public MyState As State
|
|
Public CurrentEnvelopID As Integer = 0
|
|
Public CurrentEnvelopetitle As String = ""
|
|
End Module
|