Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contact ¶
type Contact struct {
entitymodel.Entity `entity:"type:Contact;name:contact"`
OrgType types.OrgType `gorm:"type:integer;not null" form:"gkvOrgType"`
Name string `gorm:"type:varchar(100);not null" form:"gkvName"`
NameExt string `gorm:"type:varchar(100)" form:"gkvNameExt"`
ContactType types.ContactType `gorm:"type:integer;not null" form:"gkvContactType"`
ContactAddresses []ContactAddress
}
Contact ...
func (Contact) BuildEntityOption ¶
func (c Contact) BuildEntityOption() dto.EntityOption
BuildEntityOption ...
type ContactAddress ¶
type ContactAddress struct {
entitymodel.Entity `entity:"type:ContactAddress;name:contactaddress"`
ContactID uint
Street string `gorm:"type:varchar(100);not null"`
StreetNr string `gorm:"type:varchar(10);not null"`
StreetExt string `gorm:"type:varchar(50)"`
Zip string `gorm:"type:varchar(10);not null"`
City string `gorm:"type:varchar(100);not null"`
}
ContactAddress ...
type User ¶
type User struct {
entitymodel.Entity `entity:"type:User;name:user"`
Name string `gorm:"type:varchar(50);not null;unique" form:"gkvName"`
Pass string `gorm:"type:text;not null" form:"gkvPass"`
Email string `gorm:"type:varchar(100);not null" form:"gkvEmail"`
Role types.RoleType `gorm:"type:integer;not null" form:"gkvRole"`
}
User ...
func (User) BuildEntityOption ¶
func (u User) BuildEntityOption() dto.EntityOption
BuildEntityOption ...
Click to show internal directories.
Click to hide internal directories.