3
0
Files
corteza/sam/organisation.structs.go
2018-06-03 20:24:46 +02:00

29 lines
445 B
Go

package sam
// Organisations
type Organisation struct {
ID uint64
Name string
}
func (Organisation) new() *Organisation {
return &Organisation{}
}
func (o *Organisation) GetID() uint64 {
return o.ID
}
func (o *Organisation) SetID(value uint64) *Organisation {
o.ID = value
return o
}
func (o *Organisation) GetName() string {
return o.Name
}
func (o *Organisation) SetName(value string) *Organisation {
o.Name = value
return o
}