dict

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_hopeio_model_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"`
	Group     uint32               `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty"`
	Key       string               `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty" gorm:"键"`
	Value     string               `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty" comment:"值"`
	Type      uint32               `protobuf:"varint,6,opt,name=type,proto3" json:"type,omitempty" comment:"类型"`
	Seq       uint32               `protobuf:"varint,7,opt,name=seq,proto3" json:"seq,omitempty" comment:"顺序"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,16,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now();index"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,26,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" gorm:"type:timestamptz(6)"`
	DeletedAt *deletedAt.DeletedAt `protobuf:"bytes,28,opt,name=deletedAt,proto3" json:"deletedAt,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) GetCreatedAt added in v0.0.22

func (x *Dict) GetCreatedAt() *timestamp.Timestamp

func (*Dict) GetDeletedAt added in v0.0.22

func (x *Dict) GetDeletedAt() *deletedAt.DeletedAt

func (*Dict) GetGroup added in v0.1.4

func (x *Dict) GetGroup() uint32

func (*Dict) GetId

func (x *Dict) GetId() uint64

func (*Dict) GetKey

func (x *Dict) GetKey() string

func (*Dict) GetSeq

func (x *Dict) GetSeq() uint32

func (*Dict) GetStatus

func (x *Dict) GetStatus() uint32

func (*Dict) GetType added in v0.0.22

func (x *Dict) GetType() uint32

func (*Dict) GetUpdatedAt added in v0.0.22

func (x *Dict) GetUpdatedAt() *timestamp.Timestamp

func (*Dict) GetValue added in v0.1.3

func (x *Dict) GetValue() 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