dict

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cherry_protobuf_dict_dict_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Dict

type Dict struct {
	Id     uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"`
	Typ    uint32 `protobuf:"varint,2,opt,name=typ,proto3" json:"typ,omitempty"`
	PId    uint64 `protobuf:"varint,3,opt,name=pId,proto3" json:"pId,omitempty" gorm:"size:20"`
	Key    string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty" gorm:"index"`
	Val    string `protobuf:"bytes,5,opt,name=val,proto3" json:"val,omitempty" comment:"值"`
	Seq    uint32 `protobuf:"varint,6,opt,name=seq,proto3" json:"seq,omitempty" comment:"顺序"`
	CAt    string `protobuf:"bytes,16,opt,name=cAt,proto3" json:"cAt,omitempty" gorm:"type:timestamptz(6);default:now();index"`
	DAt    string `protobuf:"bytes,28,opt,name=dAt,proto3" json:"dAt,omitempty" gorm:"<-:false;type:timestamptz(6);index"`
	Status uint32 `protobuf:"varint,18,opt,name=status,proto3" json:"status,omitempty" gorm:"type:int2;default:0"`
	// contains filtered or unexported fields
}

func (*Dict) Descriptor deprecated

func (*Dict) Descriptor() ([]byte, []int)

Deprecated: Use Dict.ProtoReflect.Descriptor instead.

func (*Dict) GetCAt

func (x *Dict) GetCAt() string

func (*Dict) GetDAt

func (x *Dict) GetDAt() string

func (*Dict) GetId

func (x *Dict) GetId() uint64

func (*Dict) GetKey

func (x *Dict) GetKey() string

func (*Dict) GetPId

func (x *Dict) GetPId() uint64

func (*Dict) GetSeq

func (x *Dict) GetSeq() uint32

func (*Dict) GetStatus

func (x *Dict) GetStatus() uint32

func (*Dict) GetTyp

func (x *Dict) GetTyp() uint32

func (*Dict) GetVal

func (x *Dict) GetVal() string

func (*Dict) ProtoMessage

func (*Dict) ProtoMessage()

func (*Dict) ProtoReflect

func (x *Dict) ProtoReflect() protoreflect.Message

func (*Dict) Reset

func (x *Dict) Reset()

func (*Dict) String

func (x *Dict) String() string

Jump to

Keyboard shortcuts

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