Documentation ¶
Index ¶
- Variables
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreateAt() *timestamppb.Timestamp
- func (x *User) GetDeleteAt() *timestamppb.Timestamp
- func (x *User) GetId() uint32
- func (x *User) GetNickname() string
- func (x *User) GetPassport() string
- func (x *User) GetPassword() string
- func (x *User) GetUpdateAt() *timestamppb.Timestamp
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pbentity_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Id uint32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty" dc:"User ID"` // User ID Passport string `protobuf:"bytes,2,opt,name=Passport,proto3" json:"Passport,omitempty" dc:"User Passport"` // User Passport Password string `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password,omitempty" dc:"User Password"` // User Password Nickname string `protobuf:"bytes,4,opt,name=Nickname,proto3" json:"Nickname,omitempty" dc:"User Nickname"` // User Nickname CreateAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=CreateAt,proto3" json:"CreateAt,omitempty" dc:"Created Time"` // Created Time UpdateAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=UpdateAt,proto3" json:"UpdateAt,omitempty" dc:"Updated Time"` // Updated Time DeleteAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=DeleteAt,proto3" json:"DeleteAt,omitempty" dc:"Deleted Time"` // Deleted Time // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreateAt ¶
func (x *User) GetCreateAt() *timestamppb.Timestamp
func (*User) GetDeleteAt ¶
func (x *User) GetDeleteAt() *timestamppb.Timestamp
func (*User) GetNickname ¶
func (*User) GetPassport ¶
func (*User) GetPassword ¶
func (*User) GetUpdateAt ¶
func (x *User) GetUpdateAt() *timestamppb.Timestamp
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.