Documentation ¶
Index ¶
- Variables
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreatedAt() *timestamppb.Timestamp
- func (x *User) GetId() int64
- func (x *User) GetPassword() string
- func (x *User) GetPhone() string
- func (x *User) GetUpdatedAt() *timestamppb.Timestamp
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserLib
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pbentity_user_lib_proto protoreflect.FileDescriptor
View Source
var File_pbentity_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"` // Password string `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password,omitempty"` // Phone string `protobuf:"bytes,4,opt,name=Phone,proto3" json:"Phone,omitempty"` // CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` // UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` // // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) GetPassword ¶
func (*User) GetUpdatedAt ¶
func (x *User) GetUpdatedAt() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserLib ¶
type UserLib struct { UserId int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId,omitempty"` // LibId int32 `protobuf:"varint,2,opt,name=LibId,proto3" json:"LibId,omitempty"` // // contains filtered or unexported fields }
func (*UserLib) Descriptor
deprecated
func (*UserLib) ProtoMessage ¶
func (*UserLib) ProtoMessage()
func (*UserLib) ProtoReflect ¶
func (x *UserLib) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.