package base import "git.fsdpf.net/go/contracts" type ResCondition struct { Id int `db:"id"` Pid int `db:"pid"` Type string `db:"type"` CategoryUuid string `db:"category_uuid"` Column string `db:"column"` ColumnResource string `db:"columnResource"` Operator string `db:"operator"` ColumnSqlFunc string `db:"columnSqlFunc"` ColumnSqlFuncParam string `db:"columnSqlFuncParam"` IgnoreEmptyParma bool `db:"ignoreEmptyParma"` ValueType string `db:"valueType"` Value string `db:"value"` UpdatedAt string `db:"updated_at"` CreatedAt string `db:"created_at"` } type GetResConditions func(categoryUuid string) []ResCondition type GetOrmConditionByRes func(items []ResCondition) contracts.Condition