form

package
v0.7.99 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyticDateFilterAnalyticForm

type AnalyticDateFilterAnalyticForm struct {
	AnalyticID int    `gorm:"column:analytic_id" json:"analytic_id"`
	DateField  string `gorm:"column:date_field" json:"date_field"`
	ID         int    `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
	Title      string `gorm:"column:title" json:"title"`
}

func (*AnalyticDateFilterAnalyticForm) TableName

func (a *AnalyticDateFilterAnalyticForm) TableName() string

type AnalyticFilterAnalyticForm

type AnalyticFilterAnalyticForm struct {
	AnalyticID        int    `gorm:"column:analytic_id" json:"analytic_id"`
	FilterField       string `gorm:"column:filter_field" json:"filter_field"`
	ID                int    `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
	NameFeild         string `gorm:"column:name_feild" json:"name_feild"`
	ParentFeild       string `gorm:"column:parent_feild" json:"parent_feild"`
	Source            string `gorm:"column:source" json:"source"`
	SourceParentFelld string `gorm:"column:source_parent_felld" json:"source_parent_felld"`
	Title             string `gorm:"column:title" json:"title"`
	ValueFeild        string `gorm:"column:value_feild" json:"value_feild"`
}

func (*AnalyticFilterAnalyticForm) TableName

func (a *AnalyticFilterAnalyticForm) TableName() string

type AnalyticForm

type AnalyticForm struct {
	ID     int    `gorm:"column:id" json:"id"`
	Source string `gorm:"column:source" json:"source"`
	Title  string `gorm:"column:title" json:"title"`
}

func (*AnalyticForm) GetFormula

func (v *AnalyticForm) GetFormula() string

func (*AnalyticForm) GetFromTypes

func (v *AnalyticForm) GetFromTypes() map[string]string

func (*AnalyticForm) GetSubForms

func (a *AnalyticForm) GetSubForms() []map[string]interface{}

func (*AnalyticForm) TableName

func (a *AnalyticForm) TableName() string

TableName sets the insert table name for this struct type

type AnalyticRangeFilterAnalyticForm

type AnalyticRangeFilterAnalyticForm struct {
	AnalyticID  int    `gorm:"column:analytic_id" json:"analytic_id"`
	EndValue    int    `gorm:"column:end_value" json:"end_value"`
	FilterField string `gorm:"column:filter_field" json:"filter_field"`
	ID          int    `gorm:"column:id" json:"id"`
	StartValue  int    `gorm:"column:start_value" json:"start_value"`
	Title       string `gorm:"column:title" json:"title"`
}

func (*AnalyticRangeFilterAnalyticForm) TableName

func (a *AnalyticRangeFilterAnalyticForm) TableName() string

type AnalyticRangeRowColumnAnalyticForm

type AnalyticRangeRowColumnAnalyticForm struct {
	AnalyticID         int    `gorm:"column:analytic_id" json:"analytic_id"`
	ColOrRow           string `gorm:"column:col_or_row" json:"col_or_row"`
	Comparison         string `gorm:"column:comparison" json:"comparison"`
	DataCondition      string `gorm:"column:data_condition" json:"data_condition"`
	EndField           string `gorm:"column:end_field" json:"end_field"`
	ID                 int    `gorm:"column:id" json:"id"`
	SourceCompareField string `gorm:"column:source_compare_field" json:"source_compare_field"`
	StartField         string `gorm:"column:start_field" json:"start_field"`
	SourceTable        string `gorm:"column:table_name" json:"table_name"`
	Title              string `gorm:"column:title" json:"title"`
	Type               string `gorm:"column:type" json:"type"`
}

func (*AnalyticRangeRowColumnAnalyticForm) TableName

type AnalyticRowsColumnAnalyticForm

type AnalyticRowsColumnAnalyticForm struct {
	AnalyticID         int    `gorm:"column:analytic_id" json:"analytic_id"`
	ColOrRow           string `gorm:"column:col_or_row" json:"col_or_row"`
	CompareFeild       string `gorm:"column:compare_feild" json:"compare_feild"`
	Comparison         string `gorm:"column:comparison" json:"comparison"`
	DataCondition      string `gorm:"column:data_condition" json:"data_condition"`
	ID                 int    `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
	NameFeild          string `gorm:"column:name_feild" json:"name_feild"`
	SourceCompareField string `gorm:"column:source_compare_field" json:"source_compare_field"`
	SourceTable        string `gorm:"column:table_name" json:"table_name"`
	Title              string `gorm:"column:title" json:"title"`
	Type               string `gorm:"column:type" json:"type"`
}

func (*AnalyticRowsColumnAnalyticForm) TableName

func (a *AnalyticRowsColumnAnalyticForm) TableName() string

type CrudFrom

type CrudFrom struct {
	Actions   string     `gorm:"column:actions" json:"actions"`
	CreatedAt *time.Time `gorm:"column:created_at" json:"created_at"`
	DeletedAt *time.Time `gorm:"column:deleted_at" json:"-"`
	Form      int        `gorm:"column:form" json:"form"`
	Grid      int        `gorm:"column:grid" json:"grid"`
	ID        int        `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
	Template  string     `gorm:"column:template" json:"template"`
	Title     string     `gorm:"column:title" json:"title"`
	UpdatedAt *time.Time `gorm:"column:updated_at" json:"updated_at"`
}

func (*CrudFrom) GetSubForms

func (a *CrudFrom) GetSubForms() []map[string]interface{}

func (*CrudFrom) TableName

func (k *CrudFrom) TableName() string

TableName sets the insert table name for this struct type

type MenuForm struct {
	CreatedAt *time.Time `gorm:"column:created_at" json:"created_at"`
	ID        int64      `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
	Name      string     `gorm:"column:name" json:"name"`
	Schema    string     `gorm:"column:schema" json:"schema"`
	Type      string     `gorm:"column:type" json:"type"`
	UpdatedAt *time.Time `gorm:"column:updated_at" json:"updated_at"`
}
func (a *MenuForm) GetSubForms() []map[string]interface{}
func (v *MenuForm) TableName() string

TableName sets the insert table name for this struct type

type NotificationTarget

type NotificationTarget struct {
	Body          string `gorm:"column:body" json:"body"`
	Condition     string `gorm:"column:condition" json:"condition"`
	ID            int64  `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 (*NotificationTarget) GetFormula

func (v *NotificationTarget) GetFormula() string

func (*NotificationTarget) GetFromTypes

func (v *NotificationTarget) GetFromTypes() map[string]string

func (*NotificationTarget) GetSubForms

func (a *NotificationTarget) GetSubForms() []map[string]interface{}

func (*NotificationTarget) TableName

func (n *NotificationTarget) TableName() string

TableName sets the insert table name for this struct type

type UserForm

type UserForm struct {
	Avatar         string     `gorm:"column:avatar" json:"avatar"`
	Bio            string     `gorm:"column:bio" json:"bio"`
	Birthday       DB.Date    `gorm:"column:birthday" json:"birthday"`
	CreatedAt      *time.Time `gorm:"column:created_at" json:"-"`
	DeletedAt      *time.Time `gorm:"column:deleted_at" json:"-"`
	Email          string     `gorm:"column:email" json:"email"`
	FcmToken       string     `gorm:"column:fcm_token" json:"fcm_token"`
	FirstName      string     `gorm:"column:first_name" json:"first_name"`
	Gender         string     `gorm:"column:gender" json:"gender"`
	ID             int        `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
	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           int        `gorm:"column:role" json:"role"`
	//Status         string     `gorm:"column:status" json:"status"`
	UpdatedAt *time.Time `gorm:"column:updated_at" json:"-"`
}

func (*UserForm) GetFromTypes

func (u *UserForm) GetFromTypes() map[string]string

func (*UserForm) TableName

func (u *UserForm) TableName() string

TableName sets the insert table name for this struct type

type UserPassword

type UserPassword struct {
	ID       int    `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
	Password string `gorm:"column:password" json:"password"`
}

func (*UserPassword) GetFromTypes

func (u *UserPassword) GetFromTypes() map[string]string

func (*UserPassword) TableName

func (u *UserPassword) TableName() string

TableName sets the insert table name for this struct type

type UserProfile

type UserProfile struct {
	Avatar         string  `gorm:"column:avatar" json:"avatar"`
	Bio            string  `gorm:"column:bio" json:"bio"`
	Birthday       DB.Date `gorm:"column:birthday" json:"birthday"`
	Phone          string  `gorm:"column:phone" json:"phone"`
	FirstName      string  `gorm:"column:first_name" json:"first_name"`
	Gender         string  `gorm:"column:gender" json:"gender"`
	ID             int     `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
	LastName       string  `gorm:"column:last_name" json:"last_name"`
	Login          string  `gorm:"column:login;unique_index;not null;unique" json:"login"`
	Email          string  `gorm:"column:email;unique_index;not null;unique" json:"email"`
	RegisterNumber string  `gorm:"column:register_number;not null;unique" json:"register_number"`
}

func (*UserProfile) GetFromTypes

func (u *UserProfile) GetFromTypes() map[string]string

func (*UserProfile) TableName

func (u *UserProfile) TableName() string

TableName sets the insert table name for this struct type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL