Files
isp-system-service/domain/domain.go
T

28 lines
431 B
Go

package domain
import (
"time"
)
type DomainCreateUpdateRequest struct {
Id int
Name string `valid:"required~Required"`
Description string
}
type Domain struct {
Id int
Name string
Description string
SystemId int
CreatedAt time.Time
UpdatedAt time.Time
}
type DomainWithService struct {
Id int
Name string
Description string
Services []*ServiceWithApps
}