common_mysql

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// 是否删除,0-否,1-是
	IsDelYes = 1
	IsDelNo  = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ColumnCreateModifyDeleteTime

type ColumnCreateModifyDeleteTime struct {
	ColumnCreateModifyTime
	ColumnDeleteTime
}

type ColumnCreateModifyTime

type ColumnCreateModifyTime struct {
	CreateTime int64 `gorm:"column:create_time;not null;default 0"`
	ModifyTime int64 `gorm:"column:modify_time;not null;default 0"`
}

type ColumnDeleteTime

type ColumnDeleteTime struct {
	IsDel      int8  `gorm:"column:is_del;not null;default 0"`
	DeleteTime int64 `gorm:"column:delete_time;not null;default 0"`
}

Jump to

Keyboard shortcuts

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