feat: Envelope Status Name geändert in Envelope Name mit contant.Status Enum. Diese Eigenschaft wurde zu envelope entitiy und dto hinzugefügt. Die angular Tabelle wurde entsprechend aktualisiert.
This commit is contained in:
parent
b7569982ff
commit
387777972b
@ -12,6 +12,8 @@ namespace EnvelopeGenerator.Application.DTOs
|
||||
|
||||
public int Status { get; set; }
|
||||
|
||||
public string StatusName { get; set; }
|
||||
|
||||
public string Uuid { get; set; }
|
||||
|
||||
[TemplatePlaceholder("[MESSAGE]")]
|
||||
|
||||
@ -21,6 +21,9 @@ namespace EnvelopeGenerator.Domain.Entities
|
||||
[Column("STATUS")]
|
||||
public int Status { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string StatusName => ((Constants.EnvelopeStatus)Status).ToString();
|
||||
|
||||
[Required]
|
||||
[Column("ENVELOPE_UUID", TypeName = "nvarchar(36)")]
|
||||
public string Uuid { get; set; }
|
||||
|
||||
@ -68,7 +68,7 @@ export class EnvelopeTableComponent {
|
||||
},
|
||||
{
|
||||
header: "Status",
|
||||
field: er => er.envelope.status
|
||||
field: er => er.envelope.statusName
|
||||
},
|
||||
{
|
||||
header: 'Type',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user