pbentity

package
v0.0.0-...-2022bb5 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() *timestamppb.Timestamp

func (*User) GetId

func (x *User) GetId() int64

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetPhone

func (x *User) GetPhone() string

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() *timestamppb.Timestamp

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use UserLib.ProtoReflect.Descriptor instead.

func (*UserLib) GetLibId

func (x *UserLib) GetLibId() int32

func (*UserLib) GetUserId

func (x *UserLib) GetUserId() int64

func (*UserLib) ProtoMessage

func (*UserLib) ProtoMessage()

func (*UserLib) ProtoReflect

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

func (*UserLib) Reset

func (x *UserLib) Reset()

func (*UserLib) String

func (x *UserLib) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL