pbentity

package
v0.0.0-...-b235406 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreateAt

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

func (*User) GetDeleteAt

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

func (*User) GetId

func (x *User) GetId() uint32

func (*User) GetNickname

func (x *User) GetNickname() string

func (*User) GetPassport

func (x *User) GetPassport() string

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetUpdateAt

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

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

Jump to

Keyboard shortcuts

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