Add Expiring Soon
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user