add addresse
This commit is contained in:
@@ -15,8 +15,10 @@ func LetterEntityToContract(e *entities.LetterIncoming, attachments []entities.L
|
||||
Subject: e.Subject,
|
||||
Description: e.Description,
|
||||
SenderName: e.SenderName,
|
||||
Addressee: e.Addressee,
|
||||
ReceivedDate: e.ReceivedDate,
|
||||
DueDate: e.DueDate,
|
||||
Type: string(e.Type),
|
||||
Status: string(e.Status),
|
||||
CreatedBy: e.CreatedBy,
|
||||
CreatedAt: e.CreatedAt,
|
||||
@@ -77,8 +79,10 @@ func LetterIncomingEntityToContract(e *entities.LetterIncoming) *contract.Incomi
|
||||
Subject: e.Subject,
|
||||
Description: e.Description,
|
||||
SenderName: e.SenderName,
|
||||
Addressee: e.Addressee,
|
||||
ReceivedDate: e.ReceivedDate,
|
||||
DueDate: e.DueDate,
|
||||
Type: string(e.Type),
|
||||
Status: string(e.Status),
|
||||
CreatedBy: e.CreatedBy, // Will be set conditionally
|
||||
CreatedAt: e.CreatedAt,
|
||||
|
||||
Reference in New Issue
Block a user