added CreatedAt to tender response

This commit is contained in:
Mazyar
2026-05-04 07:26:20 +03:30
parent 686d11d3b6
commit 35de23f5a3
+2
View File
@@ -64,6 +64,7 @@ type TenderResponse struct {
BuyerOrganization *OrganizationResponse `json:"buyer_organization"`
Status TenderStatus `json:"status"`
TenderID string `json:"tender_id"`
CreatedAt int64 `json:"created_at"`
}
type OrganizationResponse struct {
@@ -97,6 +98,7 @@ func (t *Tender) ToResponse() *TenderResponse {
BuyerOrganization: org,
Status: t.Status,
TenderID: t.TenderID,
CreatedAt: t.CreatedAt,
}
return response