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:
Developer 02 2024-08-15 18:13:51 +02:00
parent b7569982ff
commit 387777972b
3 changed files with 7 additions and 2 deletions

View File

@ -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]")]

View File

@ -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; }

View File

@ -68,7 +68,7 @@ export class EnvelopeTableComponent {
},
{
header: "Status",
field: er => er.envelope.status
field: er => er.envelope.statusName
},
{
header: 'Type',