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,7 +12,9 @@ namespace EnvelopeGenerator.Application.DTOs
|
|||||||
|
|
||||||
public int Status { get; set; }
|
public int Status { get; set; }
|
||||||
|
|
||||||
public string Uuid { get; set; }
|
public string StatusName { get; set; }
|
||||||
|
|
||||||
|
public string Uuid { get; set; }
|
||||||
|
|
||||||
[TemplatePlaceholder("[MESSAGE]")]
|
[TemplatePlaceholder("[MESSAGE]")]
|
||||||
public string Message { get; set; }
|
public string Message { get; set; }
|
||||||
|
|||||||
@ -21,6 +21,9 @@ namespace EnvelopeGenerator.Domain.Entities
|
|||||||
[Column("STATUS")]
|
[Column("STATUS")]
|
||||||
public int Status { get; set; }
|
public int Status { get; set; }
|
||||||
|
|
||||||
|
[NotMapped]
|
||||||
|
public string StatusName => ((Constants.EnvelopeStatus)Status).ToString();
|
||||||
|
|
||||||
[Required]
|
[Required]
|
||||||
[Column("ENVELOPE_UUID", TypeName = "nvarchar(36)")]
|
[Column("ENVELOPE_UUID", TypeName = "nvarchar(36)")]
|
||||||
public string Uuid { get; set; }
|
public string Uuid { get; set; }
|
||||||
|
|||||||
@ -68,7 +68,7 @@ export class EnvelopeTableComponent {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: "Status",
|
header: "Status",
|
||||||
field: er => er.envelope.status
|
field: er => er.envelope.statusName
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: 'Type',
|
header: 'Type',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user