Documentation
¶
Index ¶
- Variables
- type Area
- func (*Area) Descriptor() ([]byte, []int)deprecated
- func (x *Area) GetCode() uint64
- func (x *Area) GetLevel() int32
- func (x *Area) GetName() string
- func (x *Area) GetPcode() uint64
- func (*Area) ProtoMessage()
- func (x *Area) ProtoReflect() protoreflect.Message
- func (x *Area) Reset()
- func (x *Area) String() string
- type Dict
- func (*Dict) Descriptor() ([]byte, []int)deprecated
- func (x *Dict) GetCAt() string
- func (x *Dict) GetDAt() string
- func (x *Dict) GetId() uint64
- func (x *Dict) GetKey() string
- func (x *Dict) GetPId() uint64
- func (x *Dict) GetSeq() uint32
- func (x *Dict) GetStatus() uint32
- func (x *Dict) GetTyp() uint32
- func (x *Dict) GetVal() string
- func (*Dict) ProtoMessage()
- func (x *Dict) ProtoReflect() protoreflect.Message
- func (x *Dict) Reset()
- func (x *Dict) String() string
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) ProtoMessage ¶
func (*Area) ProtoMessage()
func (*Area) ProtoReflect ¶
func (x *Area) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Dict) ProtoMessage()
func (*Dict) ProtoReflect ¶
func (x *Dict) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.