mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-18 13:06:32 +00:00
95ab14b866
* format readme * update logo * format html * add logo to docs * repository for document and document tokens * add attachments type and repository * autogenerate types via scripts * use autogenerated types * attachment type updates * add insured and quantity fields for items * implement HasID interface for entities * implement label updates for items * implement service update method * WIP item update client side actions * check err on attachment * finish types for basic items editor * remove unused var * house keeping
45 lines
641 B
Go
45 lines
641 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 (at *AuthTokens) GetID() uuid.UUID {
|
|
return at.ID
|
|
}
|
|
|
|
func (d *Document) GetID() uuid.UUID {
|
|
return d.ID
|
|
}
|
|
|
|
func (dt *DocumentToken) GetID() uuid.UUID {
|
|
return dt.ID
|
|
}
|
|
|
|
func (gr *Group) GetID() uuid.UUID {
|
|
return gr.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 (u *User) GetID() uuid.UUID {
|
|
return u.ID
|
|
}
|