Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cadangan ¶
type Cadangan struct { gorm.Model `swaggerignore:"true"` ID int `gorm:"column:id;primaryKey" json:"id"` CadanganTypeID int `gorm:"column:cadangan_types_id" json:"-"` CadanganType CadanganType `gorm:"foreignKey:CadanganTypeID" json:"cadanganType"` CadanganText string `gorm:"column:cadangan_text" json:"cadanganText"` TindakanText string `gorm:"column:tindakan_text" json:"tindakanText"` CadanganNama string `gorm:"column:cadangan_nama" json:"cadanganNama"` CadanganEmail string `gorm:"column:cadangan_email" json:"cadanganEmail"` CadanganPhone string `gorm:"column:cadangan_phone" json:"cadanganPhone"` IsOpen bool `gorm:"column:is_open" json:"isOpen"` Score int `gorm:"column:score" json:"score"` CreateDate int64 `gorm:"column:create_date" json:"createDate"` gorm2.MultiTenancy `swaggerignore:"true"` }
type CadanganType ¶
type CadanganType struct { gorm.Model `swaggerignore:"true"` ID int `gorm:"column:id;primaryKey" json:"id"` Name string `gorm:"column:name" json:"name"` gorm2.MultiTenancy `swaggerignore:"true"` }
func (CadanganType) TableName ¶
func (CadanganType) TableName() string
Click to show internal directories.
Click to hide internal directories.