mysql_model

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColumnCreateModifyDeleteTime

type ColumnCreateModifyDeleteTime struct {
	ID          int64 `gorm:"primary_key;AUTO_INCREMENT" json:"id" db:"id"`
	CreateTime  int64 `json:"create_time" db:"create_time"`
	ModifyTime  int64 `json:"modify_time" db:"modify_time"`
	DeletedTime int64 `json:"deleted_time" db:"deleted_time"`
	IsDel       int32 `json:"is_del" db:"is_del"`
}

ColumnCreateModifyDeleteTime is a basic model for mysql.

type TccBranchTransactionRecord added in v1.6.6

type TccBranchTransactionRecord struct {
	ID            int64     `xorm:"primary_key;AUTO_INCREMENT" gorm:"primary_key;AUTO_INCREMENT" json:"id" db:"id"`
	Business      string    `json:"business" db:"business"`
	XID           string    `json:"xid" db:"xid"`
	BID           string    `json:"bid" db:"bid"`
	TryStatus     int8      `json:"try_status" db:"try_status"`
	ConfirmStatus int8      `json:"confirm_status" db:"confirm_status"`
	CancelStatus  int8      `json:"cancel_status" db:"cancel_status"`
	Context       string    `json:"context" db:"context"`
	UpdateTime    time.Time `json:"update_time" db:"update_time"`
	CreateTime    time.Time `json:"create_time" db:"create_time"`
}

Jump to

Keyboard shortcuts

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