49 lines
834 B
Go
49 lines
834 B
Go
package models
|
|
|
|
type Program struct {
|
|
ID int
|
|
Publisher string
|
|
Name string
|
|
CategoryId int
|
|
LicenseTypeId int
|
|
Description string
|
|
URL string
|
|
}
|
|
|
|
type ProgramDto struct {
|
|
ID int
|
|
Publisher string
|
|
Name string
|
|
Category Category
|
|
LicenseType License
|
|
Description string
|
|
URL string
|
|
}
|
|
|
|
type ProgramVersions struct {
|
|
ProgramID int
|
|
Version string
|
|
SystemRequirements string
|
|
LicenseTypeId int
|
|
URL string
|
|
Date string
|
|
}
|
|
type ProgramVersionsDto struct {
|
|
ProgramID int
|
|
Version string
|
|
SystemRequirements string
|
|
LicenseType License
|
|
URL string
|
|
Date string
|
|
}
|
|
|
|
type Category struct {
|
|
ID int
|
|
Name string
|
|
}
|
|
|
|
type License struct {
|
|
ID int
|
|
Name string
|
|
}
|