genModel

package
v0.0.0-...-fc2ebe8 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = sqlx.ErrNotFound

Functions

This section is empty.

Types

type WeworkUserSyncRecords

type WeworkUserSyncRecords struct {
	Id        int64        `db:"id"`
	CreatedAt sql.NullTime `db:"created_at"`
	UpdatedAt sql.NullTime `db:"updated_at"`
	DeletedAt sql.NullTime `db:"deleted_at"`
	Uid       string       `db:"uid"`       // 用户ID
	Name      string       `db:"name"`      // 真实姓名
	Eid       string       `db:"eid"`       // 工号
	SyncKind  string       `db:"sync_kind"` // 类别
}

type WeworkUserSyncRecordsModel

type WeworkUserSyncRecordsModel interface {
	// contains filtered or unexported methods
}

WeworkUserSyncRecordsModel is an interface to be customized, add more methods here, and implement the added methods in customWeworkUserSyncRecordsModel.

func NewWeworkUserSyncRecordsModel

func NewWeworkUserSyncRecordsModel(conn sqlx.SqlConn, c cache.CacheConf) WeworkUserSyncRecordsModel

NewWeworkUserSyncRecordsModel returns a model for the database table.

Jump to

Keyboard shortcuts

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