Hub-Api/models/commands/license_commands.go

15 lines
248 B
Go
Raw Normal View History

2024-05-27 23:06:25 +03:30
package models
import "time"
type CreateLicenseCommand struct {
Plan_id uint `validate:"required"`
ExpireDate time.Time
2024-05-27 23:06:25 +03:30
}
type UpdateLicenseCommand struct {
Plan_id uint `validate:"required"`
ExpireDate time.Time
NumberOfRenewals uint
2024-05-27 23:06:25 +03:30
}