Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Krud ¶
type Krud struct { ID int `gorm:"column:ID;primaryKey;autoIncrement" json:"id"` Form int `gorm:"column:FORM" json:"form"` Grid int `gorm:"column:GRID" json:"grid"` Template string `gorm:"column:TEMPLATE" json:"template"` Title string `gorm:"column:TITLE" json:"title"` Actions *string `gorm:"column:ACTIONS" json:"actions"` CreatedAt *time.Time `gorm:"column:CREATED_AT" json:"created_at"` UpdatedAt *time.Time `gorm:"column:UPDATED_AT" json:"updated_at"` DeletedAt gorm.DeletedAt `gorm:"column:DELETED_AT" json:"-"` }
type NotificationTargets ¶
type NotificationTargets struct { Body string `gorm:"column:BODY" json:"body"` Condition string `gorm:"column:CONDITION" json:"condition"` ID int `gorm:"column:ID;primaryKey;autoIncrement" json:"id"` Link string `gorm:"column:LINK" json:"link"` SchemaID int `gorm:"column:SCHEMA_ID" json:"schema_id"` TargetActions string `gorm:"column:TARGET_ACTIONS" json:"target_actions"` TargetRole int `gorm:"column:TARGET_ROLE" json:"target_role"` Title string `gorm:"column:TITLE" json:"title"` }
func (*NotificationTargets) TableName ¶
func (n *NotificationTargets) TableName() string
TableName sets the insert table name for this struct type
type UserForm ¶
type UserForm struct { ID int64 `gorm:"column:ID;primaryKey;autoIncrement" json:"id"` Avatar *string `gorm:"column:AVATAR" json:"avatar"` Bio *string `gorm:"column:BIO" json:"bio"` Birthday *time.Time `gorm:"column:BIRTHDAY;type:DATE" json:"birthday"` Email string `gorm:"column:EMAIL" json:"email"` FirstName string `gorm:"column:FIRST_NAME" json:"first_name"` Gender string `gorm:"column:GENDER" json:"gender"` LastName string `gorm:"column:LAST_NAME" json:"last_name"` Login string `gorm:"column:LOGIN" json:"login"` Password string `gorm:"column:PASSWORD" json:"password"` Phone string `gorm:"column:PHONE" json:"phone"` RegisterNumber string `gorm:"column:REGISTER_NUMBER" json:"register_number"` Role int64 `gorm:"column:ROLE" json:"role"` CreatedAt *time.Time `gorm:"column:CREATED_AT" json:"created_at"` UpdatedAt *time.Time `gorm:"column:UPDATED_AT" json:"updated_at"` DeletedAt gorm.DeletedAt `gorm:"column:DELETED_AT" json:"-"` }
type UserProfile ¶
type UserProfile struct { ID int64 `gorm:"column:ID;primaryKey;autoIncrement" json:"id"` Avatar *string `gorm:"column:AVATAR" json:"avatar"` Bio *string `gorm:"column:BIO" json:"bio"` Birthday *time.Time `gorm:"column:BIRTHDAY;type:DATE" json:"birthday"` Email string `gorm:"column:EMAIL" json:"email"` FirstName string `gorm:"column:FIRST_NAME" json:"first_name"` Gender string `gorm:"column:GENDER" json:"gender"` LastName string `gorm:"column:LAST_NAME" json:"last_name"` Login string `gorm:"column:LOGIN" json:"login"` Password string `gorm:"column:PASSWORD" json:"password"` Phone string `gorm:"column:PHONE" json:"phone"` RegisterNumber string `gorm:"column:REGISTER_NUMBER" json:"register_number"` }
func (*UserProfile) TableName ¶
func (u *UserProfile) TableName() string
TableName sets the insert table name for this struct type
type Users ¶
type VbSchemas ¶
type VbSchemas struct { ID int `gorm:"column:ID;primaryKey;autoIncrement" json:"id"` Name string `gorm:"column:NAME" json:"name"` Schema string `gorm:"column:SCHEMA;type:LONG" json:"schema"` Type string `gorm:"column:TYPE" json:"type"` CreatedAt *time.Time `gorm:"column:CREATED_AT" json:"created_at"` UpdatedAt *time.Time `gorm:"column:UPDATED_AT" json:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.