Add Expiring Soon

This commit is contained in:
aditya.siregar
2024-08-02 01:21:21 +07:00
parent c1ae2fd14a
commit 2e1b62e33a
3 changed files with 8 additions and 4 deletions
+2
View File
@@ -16,6 +16,7 @@ type License struct {
UpdatedBy int64 `json:"updated_by"`
PartnerName string `json:"partner_name"`
Status string `json:"status"`
DaysToExpire int64 `json:"days_to_expire"`
}
type LicenseList struct {
@@ -67,4 +68,5 @@ func (r *License) FromEntityGetAll(e *entity.LicenseGetAll) {
r.UpdatedBy = e.UpdatedBy
r.PartnerName = e.PartnerName
r.Status = e.LicenseStatus
r.DaysToExpire = e.DaysToExpire
}