16 lines
257 B
Go
16 lines
257 B
Go
|
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,
|
||
|
}
|
||
|
}
|