Add applications
This commit is contained in:
15
services/entry/pkg/application/applications/model.go
Normal file
15
services/entry/pkg/application/applications/model.go
Normal file
@@ -0,0 +1,15 @@
|
||||
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,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user