2024-05-27 23:06:25 +03:30
|
|
|
package models
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
type CreateLicenseCommand struct {
|
2024-06-07 15:14:01 +03:30
|
|
|
Plan_id uint `validate:"required"`
|
|
|
|
|
Period time.Time `validate:"required"`
|
|
|
|
|
Modified_by string `validate:"required"`
|
2024-05-27 23:06:25 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type UpdateLicenseCommand struct {
|
2024-06-07 15:14:01 +03:30
|
|
|
Plan_id uint `validate:"required"`
|
|
|
|
|
Period time.Time `validate:"required"`
|
|
|
|
|
Modified_by string `validate:"required"`
|
2024-05-27 23:06:25 +03:30
|
|
|
}
|
|
|
|
|
|