refactor(Domain.Entites.DocumentStatus): Ersetzt durch Common.Entites.DocumentStatus
This commit is contained in:
parent
12502bb2de
commit
be9516d852
@ -1,12 +0,0 @@
|
||||
Imports EnvelopeGenerator.Domain
|
||||
|
||||
Public Class DocumentStatus
|
||||
|
||||
Public Property Id As Integer
|
||||
Public Property EnvelopeId As Integer
|
||||
Public Property ReceiverId As Integer
|
||||
Public Property Value As String
|
||||
Public Property Status As Constants.DocumentStatus = Constants.DocumentStatus.Created
|
||||
Public Property StatusChangedWhen As Date
|
||||
|
||||
End Class
|
||||
@ -275,7 +275,6 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="Config.vb" />
|
||||
<Compile Include="Entities\DbConfig.vb" />
|
||||
<Compile Include="Entities\DocumentStatus.vb" />
|
||||
<Compile Include="Entities\ElementStatus.vb" />
|
||||
<Compile Include="Entities\EmailData.vb" />
|
||||
<Compile Include="Jobs\APIBackendJobs\APIEnvelopeJob.vb" />
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
Imports System.Data.SqlClient
|
||||
Imports EnvelopeGenerator.Domain.Entities
|
||||
|
||||
Public Class DocumentStatusModel
|
||||
Inherits BaseModel
|
||||
|
||||
@ -22,9 +22,10 @@ namespace EnvelopeGenerator.Domain.Entities
|
||||
[Column("RECEIVER_ID")]
|
||||
public int ReceiverId { get; set; }
|
||||
|
||||
// TODO: * check Form Application and remove default value
|
||||
[Required]
|
||||
[Column("STATUS")]
|
||||
public int Status { get; set; }
|
||||
public Constants.DocumentStatus Status { get; set; } = Constants.DocumentStatus.Created;
|
||||
|
||||
[Column("STATUS_CHANGED_WHEN", TypeName = "datetime")]
|
||||
public DateTime StatusChangedWhen { get; set; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user