dto

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListLogReq

type ListLogReq struct {
	UserID     uint64 `json:"user_id"`
	UsePreload bool
	models.BasedFilter
}

func (*ListLogReq) Validate

func (m *ListLogReq) Validate() error

type LogRes

type LogRes struct {
	ID        uint64    `json:"id"`
	DateTime  time.Time `json:"date_time"`
	Name      string    `json:"name"`
	Action    string    `json:"action"`
	UserID    uint64    `json:"user_id"`
	UserName  string    `json:"user_name"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
}

Jump to

Keyboard shortcuts

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