booklendv1

package
v0.0.0-...-8dc85f3 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_actor_user_booklend_v1_commands_proto protoreflect.FileDescriptor
View Source
var File_actor_user_booklend_v1_entities_proto protoreflect.FileDescriptor
View Source
var File_actor_user_booklend_v1_events_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BookEntity

type BookEntity struct {
	Id               string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title            string                 `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Isbn             string                 `protobuf:"bytes,3,opt,name=isbn,proto3" json:"isbn,omitempty"`
	Borrower         string                 `protobuf:"bytes,4,opt,name=borrower,proto3" json:"borrower,omitempty"`
	Date             *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=date,proto3" json:"date,omitempty"`
	ExpectedDuration *durationpb.Duration   `protobuf:"bytes,6,opt,name=expected_duration,json=expectedDuration,proto3" json:"expected_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*BookEntity) Descriptor deprecated

func (*BookEntity) Descriptor() ([]byte, []int)

Deprecated: Use BookEntity.ProtoReflect.Descriptor instead.

func (*BookEntity) GetBorrower

func (x *BookEntity) GetBorrower() string

func (*BookEntity) GetDate

func (x *BookEntity) GetDate() *timestamppb.Timestamp

func (*BookEntity) GetExpectedDuration

func (x *BookEntity) GetExpectedDuration() *durationpb.Duration

func (*BookEntity) GetId

func (x *BookEntity) GetId() string

func (*BookEntity) GetIsbn

func (x *BookEntity) GetIsbn() string

func (*BookEntity) GetTitle

func (x *BookEntity) GetTitle() string

func (*BookEntity) ProtoMessage

func (*BookEntity) ProtoMessage()

func (*BookEntity) ProtoReflect

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

func (*BookEntity) Reset

func (x *BookEntity) Reset()

func (*BookEntity) String

func (x *BookEntity) String() string

type BookLent

type BookLent struct {
	Base             *v1.EventBase          `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Timestamp        *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Borrower         string                 `protobuf:"bytes,3,opt,name=borrower,proto3" json:"borrower,omitempty"`
	Date             *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
	ExpectedDuration *durationpb.Duration   `protobuf:"bytes,5,opt,name=expected_duration,json=expectedDuration,proto3" json:"expected_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*BookLent) Descriptor deprecated

func (*BookLent) Descriptor() ([]byte, []int)

Deprecated: Use BookLent.ProtoReflect.Descriptor instead.

func (*BookLent) GetBase

func (x *BookLent) GetBase() *v1.EventBase

func (*BookLent) GetBorrower

func (x *BookLent) GetBorrower() string

func (*BookLent) GetDate

func (x *BookLent) GetDate() *timestamppb.Timestamp

func (*BookLent) GetExpectedDuration

func (x *BookLent) GetExpectedDuration() *durationpb.Duration

func (*BookLent) GetTimestamp

func (x *BookLent) GetTimestamp() *timestamppb.Timestamp

func (*BookLent) ProtoMessage

func (*BookLent) ProtoMessage()

func (*BookLent) ProtoReflect

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

func (*BookLent) Reset

func (x *BookLent) Reset()

func (*BookLent) String

func (x *BookLent) String() string

type BookRegistered

type BookRegistered struct {
	Base      *v1.EventBase          `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Title     string                 `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Isbn      string                 `protobuf:"bytes,4,opt,name=isbn,proto3" json:"isbn,omitempty"`
	// contains filtered or unexported fields
}

func (*BookRegistered) Descriptor deprecated

func (*BookRegistered) Descriptor() ([]byte, []int)

Deprecated: Use BookRegistered.ProtoReflect.Descriptor instead.

func (*BookRegistered) GetBase

func (x *BookRegistered) GetBase() *v1.EventBase

func (*BookRegistered) GetIsbn

func (x *BookRegistered) GetIsbn() string

func (*BookRegistered) GetTimestamp

func (x *BookRegistered) GetTimestamp() *timestamppb.Timestamp

func (*BookRegistered) GetTitle

func (x *BookRegistered) GetTitle() string

func (*BookRegistered) ProtoMessage

func (*BookRegistered) ProtoMessage()

func (*BookRegistered) ProtoReflect

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

func (*BookRegistered) Reset

func (x *BookRegistered) Reset()

func (*BookRegistered) String

func (x *BookRegistered) String() string

type BookReturned

type BookReturned struct {
	Base         *v1.EventBase          `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Timestamp    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	By           string                 `protobuf:"bytes,3,opt,name=by,proto3" json:"by,omitempty"`
	Date         *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
	LentDuration *durationpb.Duration   `protobuf:"bytes,5,opt,name=lent_duration,json=lentDuration,proto3" json:"lent_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*BookReturned) Descriptor deprecated

func (*BookReturned) Descriptor() ([]byte, []int)

Deprecated: Use BookReturned.ProtoReflect.Descriptor instead.

func (*BookReturned) GetBase

func (x *BookReturned) GetBase() *v1.EventBase

func (*BookReturned) GetBy

func (x *BookReturned) GetBy() string

func (*BookReturned) GetDate

func (x *BookReturned) GetDate() *timestamppb.Timestamp

func (*BookReturned) GetLentDuration

func (x *BookReturned) GetLentDuration() *durationpb.Duration

func (*BookReturned) GetTimestamp

func (x *BookReturned) GetTimestamp() *timestamppb.Timestamp

func (*BookReturned) ProtoMessage

func (*BookReturned) ProtoMessage()

func (*BookReturned) ProtoReflect

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

func (*BookReturned) Reset

func (x *BookReturned) Reset()

func (*BookReturned) String

func (x *BookReturned) String() string

type LendBook

type LendBook struct {
	Base             *v1.CommandBase        `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Borrower         string                 `protobuf:"bytes,2,opt,name=borrower,proto3" json:"borrower,omitempty"`
	Date             *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	ExpectedDuration *durationpb.Duration   `protobuf:"bytes,4,opt,name=expected_duration,json=expectedDuration,proto3" json:"expected_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*LendBook) Descriptor deprecated

func (*LendBook) Descriptor() ([]byte, []int)

Deprecated: Use LendBook.ProtoReflect.Descriptor instead.

func (*LendBook) GetBase

func (x *LendBook) GetBase() *v1.CommandBase

func (*LendBook) GetBorrower

func (x *LendBook) GetBorrower() string

func (*LendBook) GetDate

func (x *LendBook) GetDate() *timestamppb.Timestamp

func (*LendBook) GetExpectedDuration

func (x *LendBook) GetExpectedDuration() *durationpb.Duration

func (*LendBook) ProtoMessage

func (*LendBook) ProtoMessage()

func (*LendBook) ProtoReflect

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

func (*LendBook) Reset

func (x *LendBook) Reset()

func (*LendBook) String

func (x *LendBook) String() string

type RegisterBook

type RegisterBook struct {
	Base  *v1.CommandBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Title string          `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Isbn  string          `protobuf:"bytes,3,opt,name=isbn,proto3" json:"isbn,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterBook) Descriptor deprecated

func (*RegisterBook) Descriptor() ([]byte, []int)

Deprecated: Use RegisterBook.ProtoReflect.Descriptor instead.

func (*RegisterBook) GetBase

func (x *RegisterBook) GetBase() *v1.CommandBase

func (*RegisterBook) GetIsbn

func (x *RegisterBook) GetIsbn() string

func (*RegisterBook) GetTitle

func (x *RegisterBook) GetTitle() string

func (*RegisterBook) ProtoMessage

func (*RegisterBook) ProtoMessage()

func (*RegisterBook) ProtoReflect

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

func (*RegisterBook) Reset

func (x *RegisterBook) Reset()

func (*RegisterBook) String

func (x *RegisterBook) String() string

type ReturnBook

type ReturnBook struct {
	Base *v1.CommandBase        `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

func (*ReturnBook) Descriptor deprecated

func (*ReturnBook) Descriptor() ([]byte, []int)

Deprecated: Use ReturnBook.ProtoReflect.Descriptor instead.

func (*ReturnBook) GetBase

func (x *ReturnBook) GetBase() *v1.CommandBase

func (*ReturnBook) GetDate

func (x *ReturnBook) GetDate() *timestamppb.Timestamp

func (*ReturnBook) ProtoMessage

func (*ReturnBook) ProtoMessage()

func (*ReturnBook) ProtoReflect

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

func (*ReturnBook) Reset

func (x *ReturnBook) Reset()

func (*ReturnBook) String

func (x *ReturnBook) String() string

Jump to

Keyboard shortcuts

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