Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveRecord ¶
type ActiveRecord interface { schema.Tabler SetCreatedBy(createBy int64) SetUpdatedBy(updateBy int64) Generate() ActiveRecord GetId() interface{} }
type CharSelectOptions ¶
type ControlBy ¶
type ControlBy struct { CreatedBy string `json:"createdBy" gorm:"column:created_by;index;comment:创建者"` UpdatedBy string `json:"updatedBy" gorm:"column:updated_by;index;comment:更新者"` }
func (*ControlBy) SetCreatedBy ¶
SetCreatedBy 设置创建人id
func (*ControlBy) SetUpdatedBy ¶
SetUpdatedBy 设置修改人id
type Page ¶
type PrimaryKey ¶
type PrimaryKey struct {
Id string `json:"id" gorm:"column:id;primaryKey;comment:主键编码" url:"id"`
}
func (*PrimaryKey) SetPrimaryKey ¶
func (e *PrimaryKey) SetPrimaryKey(primaryKey string)
SetPrimaryKey 主键
type SelectOptions ¶
type ViewEnumCache ¶
Click to show internal directories.
Click to hide internal directories.