model

package
v1.15.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cherry_protobuf_model_area_proto protoreflect.FileDescriptor
View Source
var File_cherry_protobuf_model_dict_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Area

type Area struct {
	Code  uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Level int32  `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
	Pcode uint64 `protobuf:"varint,4,opt,name=pcode,proto3" json:"pcode,omitempty"`
	// contains filtered or unexported fields
}

func (*Area) Descriptor deprecated

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

Deprecated: Use Area.ProtoReflect.Descriptor instead.

func (*Area) GetCode

func (x *Area) GetCode() uint64

func (*Area) GetLevel

func (x *Area) GetLevel() int32

func (*Area) GetName

func (x *Area) GetName() string

func (*Area) GetPcode

func (x *Area) GetPcode() uint64

func (*Area) ProtoMessage

func (*Area) ProtoMessage()

func (*Area) ProtoReflect

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

func (*Area) Reset

func (x *Area) Reset()

func (*Area) String

func (x *Area) String() string

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