mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-27 11:05:39 +00:00
23b5892aef
* introduce scaffold for new models * wip: shoutrrr wrapper (may remove) * update schema files * gen: ent code * gen: migrations * go mod tidy * add group_id to notifier * db migration * new mapper helpers * notifier repo * introduce experimental adapter pattern for hdlrs * refactor adapters to fit more common use cases * new routes for notifiers * update errors to fix validation panic * go tidy * reverse checkbox label display * wip: notifiers UI * use badges instead of text * improve documentation * add scaffold schema reference * remove notifier service * refactor schema folder * support group edges via scaffold * delete test file * include link to API docs * audit and update documentation + improve format * refactor schema edges * refactor * add custom validator * set validate + order fields by name * fix failing tests
57 lines
822 B
Go
57 lines
822 B
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package ent
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
func (a *Attachment) GetID() uuid.UUID {
|
|
return a.ID
|
|
}
|
|
|
|
func (ar *AuthRoles) GetID() int {
|
|
return ar.ID
|
|
}
|
|
|
|
func (at *AuthTokens) GetID() uuid.UUID {
|
|
return at.ID
|
|
}
|
|
|
|
func (d *Document) GetID() uuid.UUID {
|
|
return d.ID
|
|
}
|
|
|
|
func (gr *Group) GetID() uuid.UUID {
|
|
return gr.ID
|
|
}
|
|
|
|
func (git *GroupInvitationToken) GetID() uuid.UUID {
|
|
return git.ID
|
|
}
|
|
|
|
func (i *Item) GetID() uuid.UUID {
|
|
return i.ID
|
|
}
|
|
|
|
func (_if *ItemField) GetID() uuid.UUID {
|
|
return _if.ID
|
|
}
|
|
|
|
func (l *Label) GetID() uuid.UUID {
|
|
return l.ID
|
|
}
|
|
|
|
func (l *Location) GetID() uuid.UUID {
|
|
return l.ID
|
|
}
|
|
|
|
func (me *MaintenanceEntry) GetID() uuid.UUID {
|
|
return me.ID
|
|
}
|
|
|
|
func (n *Notifier) GetID() uuid.UUID {
|
|
return n.ID
|
|
}
|
|
|
|
func (u *User) GetID() uuid.UUID {
|
|
return u.ID
|
|
}
|