18 lines
367 B
Go
18 lines
367 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type CreateLicenseCommand struct {
|
|
Plan_id uint `validate:"required"`
|
|
Period time.Time `validate:"required"`
|
|
Modified_by string `validate:"required"`
|
|
}
|
|
|
|
|
|
type UpdateLicenseCommand struct {
|
|
Plan_id uint `validate:"required"`
|
|
Period time.Time `validate:"required"`
|
|
Modified_by string `validate:"required"`
|
|
}
|
|
|