model

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MessageInit        = 1  // 新建,初始化
	MessageSending     = 2  // 投送中
	MessageSendSuccess = 3  // 投送成功
	MessageSendFailed  = 4  // 投送失败
	MessageCancelled   = -1 // 取消
	MessageSendExpired = -9 // 投送失败
)
View Source
const (
	MessagePriorityLow    = 1 // low
	MessagePriorityNormal = 2 // normal
	MessagePriorityHigh   = 3 // high
)

Variables

This section is empty.

Functions

func Tables

func Tables() (t []any)

Types

type FlexTableField

type FlexTableField struct {
	Index int64  `json:"index"`
	Name  string `json:"name"`
	Alias string `json:"alias,omitempty"`
}

type FlexTableInfo

type FlexTableInfo struct {
	app.Pk
	app.TableChangeInfo
	Code        string `orm:"column(code);unique"`  // 表单编号
	Project     string `orm:"column(project)"`      // 对项目的引用(引用project code)
	Name        string `orm:"column(name)"`         // 名称描述
	TableFields string `orm:"column(table_fields)"` // 别名列表(json格式 FlexTableField)
}

func (*FlexTableInfo) TableName

func (*FlexTableInfo) TableName() string

type Project

type Project struct {
	app.Pk
	Code string `orm:"column(code);unique"` // 业务系统编号
	Name string `orm:"column(name)"`        // 名称描述
	app.TableChangeInfo
}

func (*Project) TableName

func (t *Project) TableName() string

Jump to

Keyboard shortcuts

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