Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { ID string `gorm:"type:char(5)"` Address string `gorm:"not null"` VillageID string `gorm:"not null;type:char(10)"` VillageName string `gorm:"not null;size:255"` DistrictID string `gorm:"not null;type:char(7)"` DistrictName string `gorm:"not null;size:255"` RegencyID string `gorm:"not null;type:char(4)"` RegencyName string `gorm:"not null;size:255"` ProvinceID string `gorm:"not null;type:char(2)"` ProvinceName string `gorm:"not null;size:255"` CreatedAt time.Time UpdatedAt time.Time DeletedAt gorm.DeletedAt `gorm:"index"` }
type Group ¶
type Group struct { ID string `gorm:"type:char(5)"` Name string `gorm:"not null;size:80"` Leader string `gorm:"not null;size:80"` Address Address `gorm:"foreignKey:ID;constraint:OnUpdate:CASCADE,OnDelete:CASCADE"` Properties []Property `gorm:"foreignKey:GroupID;constraint:OnUpdate:CASCADE,OnDelete:CASCADE"` ShowSchedules []ShowSchedule `gorm:"foreignKey:GroupID;constraint:OnUpdate:CASCADE,OnDelete:CASCADE"` CreatedAt time.Time UpdatedAt time.Time DeletedAt gorm.DeletedAt `gorm:"index"` }
type ShowSchedule ¶
Click to show internal directories.
Click to hide internal directories.