schema

package
v0.0.0-...-a69402d Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 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 LeafAlloc

type LeafAlloc struct {
	BizTag      string `xorm:"biz_tag VARCHAR(128) notnull pk" db:"biz_tag" json:"biz_tag"`
	MaxId       int64  `xorm:"max_id BIGINT(20) notnull default 0" db:"max_id" json:"max_id"`
	Step        int    `xorm:"step INT(11) notnull default 0" db:"step" json:"step"`
	Description string `xorm:"description VARCHAR(256) notnull" db:"description" json:"description"`
	CreatedAt   int64  `xorm:"created_at BIGINT(20) notnull default 0" db:"created_at" json:"created,omitempty"`
	DeletedAt   int64  `xorm:"deleted_at BIGINT(20) notnull default 0" db:"deleted_at" json:"deleted,omitempty"`
	UpdatedAt   int64  `xorm:"update_time BIGINT(20) notnull default 0" db:"updated_at" json:"updated_at"`
	Updated     string `xorm:"-" db:"-" json:"updated"`
}

func (*LeafAlloc) AfterLoad

func (p *LeafAlloc) AfterLoad()

func (*LeafAlloc) BeforeInsert

func (p *LeafAlloc) BeforeInsert()

func (*LeafAlloc) BeforeUpdate

func (p *LeafAlloc) BeforeUpdate()

func (*LeafAlloc) TableName

func (p *LeafAlloc) TableName() string

Jump to

Keyboard shortcuts

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