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) BeforeInsert ¶
func (p *LeafAlloc) BeforeInsert()
func (*LeafAlloc) BeforeUpdate ¶
func (p *LeafAlloc) BeforeUpdate()
Click to show internal directories.
Click to hide internal directories.