Updated references from `Constants` to direct usage of `EnvelopeStatus` and `EmailTemplateType` enums. This change enhances code readability and reduces dependency on the `Constants` class. Modified properties and parameters across command classes, DTOs, repositories, and services to use the enums directly. Updated `ModifyDocStatusCommandBase`, `EnvelopeHistoryDto`, and `ResetEmailTemplateCommand` for improved clarity. Consistent updates across multiple files indicate a systematic refactoring aimed at streamlining the codebase and improving maintainability. Comments and documentation have also been revised to reflect these changes.
23 lines
650 B
VB.net
23 lines
650 B
VB.net
Imports EnvelopeGenerator.Domain
|
|
Imports EnvelopeGenerator.Domain.Entities
|
|
|
|
Public Class ReportItem
|
|
|
|
Public Property Envelope As Envelope
|
|
Public Property EnvelopeId As Integer
|
|
Public Property EnvelopeTitle As String
|
|
Public Property EnvelopeSubject As String
|
|
|
|
Public Property ItemStatus As EnvelopeStatus
|
|
Public ReadOnly Property ItemStatusTranslated As String
|
|
Get
|
|
Dim oStatus = ItemStatus.ToString()
|
|
Return My.Resources.Model.ResourceManager.GetString(oStatus)
|
|
End Get
|
|
End Property
|
|
|
|
Public Property ItemUserReference As String
|
|
Public Property ItemDate As Date
|
|
|
|
End Class
|