Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeyValue ¶
type KeyValue struct { Id uint `gorm:"column:id;primaryKey;type:BIGINT UNSIGNED;not null;autoIncrement" json:"id" form:"id"` Fid uint `gorm:"column:fid;type:BIGINT UNSIGNED;not null;index;default:0" json:"fid" form:"fid"` //上级分类编号(数据分析时使用) Value string `gorm:"column:value;type:varchar(200);unique" json:"value" form:"value"` //对应的值 CreatedAt string `gorm:"column:created_at;type:datetime" json:"created_at" form:"created_at"` }
Click to show internal directories.
Click to hide internal directories.