serverctl/services/entry/pkg/application/applications/model.go

16 lines
257 B
Go
Raw Normal View History

2022-02-16 15:30:38 +01:00
package applications
type Application struct {
Id int
ProjectId int
Name string
}
func NewApplication(id int, projectId int, name string) *Application {
return &Application{
Id: id,
ProjectId: projectId,
Name: name,
}
}