schema

package
v1.1.30 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheItemCreateDTO

type CacheItemCreateDTO struct {
	Id          string `gorm:"column:id;primaryKey" json:"Id" form:"Id" comment:"Id"`
	Group       int    `gorm:"column:group" json:"Group" form:"Group" comment:"Group"`
	Data        []byte `gorm:"column:data" json:"Data" form:"Data" comment:"Data"`
	Size        string `gorm:"column:size" json:"Size" form:"Size" comment:"Size"`
	HitCount    int    `gorm:"column:hit_count" json:"HitCount" form:"HitCount" comment:"HitCount"`
	ExpirSecond int    `json:"ExpirSecond" form:"ExpirSecond" comment:"ExpirSecond"`
}

type CacheItemQueryDTO

type CacheItemQueryDTO struct {
	Id               string `gorm:"column:id;primaryKey" json:"Id" form:"Id" comment:"Id"`
	Group            int    `gorm:"column:group" json:"Group" form:"Group" comment:"Group"`
	Data             []byte `gorm:"column:data" json:"Data" form:"Data" comment:"Data"`
	Size             string `gorm:"column:size" json:"Size" form:"Size" comment:"Size"`
	HitCount         int    `gorm:"column:hit_count" json:"HitCount" form:"HitCount" comment:"HitCount"`
	CreatedAt_datege string `gorm:"column:created_at_datege" json:"CreatedAt_datege" form:"CreatedAt_datege" comment:"CreatedAt_datege"`
	CreatedAt_datele string `gorm:"column:created_at_datele" json:"CreatedAt_datele" form:"CreatedAt_datele" comment:"CreatedAt_datele"`
	Expir_datege     string `gorm:"column:expir_datege" json:"Expir_datege" form:"Expir_datege" comment:"Expir_datege"`
	Expir_datele     string `gorm:"column:expir_datele" json:"Expir_datele" form:"Expir_datele" comment:"Expir_datele"`
}

type CacheItemVO

type CacheItemVO struct {
	Id        string           `gorm:"column:id;primaryKey" json:"Id" form:"Id" comment:"Id"`
	Group     int              `gorm:"column:group" json:"Group" form:"Group" comment:"Group"`
	Data      []byte           `gorm:"column:data" json:"Data" form:"Data" comment:"Data"`
	Size      string           `gorm:"column:size" json:"Size" form:"Size" comment:"Size"`
	HitCount  int              `gorm:"column:hit_count" json:"HitCount" form:"HitCount" comment:"HitCount"`
	Expir     base.ISO8601Time `gorm:"column:expir" json:"Expir" form:"Expir" comment:"Expir"`
	CreatedAt base.ISO8601Time `gorm:"column:created_at" json:"CreatedAt" form:"CreatedAt" comment:"CreatedAt"`
}

func (CacheItemVO) GetDetailVO

func (c CacheItemVO) GetDetailVO() interface{}

func (CacheItemVO) GetListVO

func (c CacheItemVO) GetListVO() interface{}

Jump to

Keyboard shortcuts

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