seat

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Seat

type Seat struct {
	SeatId       int64   `protobuf:"varint,1,opt,name=seat_id,json=seatId,proto3" json:"seat_id,omitempty" bson:"seat_id"`
	DiscountId   int64   `protobuf:"varint,2,opt,name=discount_id,json=discountId,proto3" json:"discount_id,omitempty" bson:"discount_id"`
	DiscountName string  `protobuf:"bytes,3,opt,name=discount_name,json=discountName,proto3" json:"discount_name,omitempty" bson:"discount_name"`
	Price        float64 `protobuf:"fixed64,4,opt,name=price,proto3" json:"price,omitempty" bson:"price"`
	RowText      string  `protobuf:"bytes,5,opt,name=row_text,json=rowText,proto3" json:"row_text,omitempty" bson:"row_text"`
	SeatText     string  `protobuf:"bytes,6,opt,name=seat_text,json=seatText,proto3" json:"seat_text,omitempty" bson:"seat_text"`
	ZoneId       int64   `protobuf:"varint,7,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty" bson:"zone_id"`
	ZoneColor    string  `protobuf:"bytes,8,opt,name=zone_color,json=zoneColor,proto3" json:"zone_color,omitempty" bson:"zone_color"`
}

func (*Seat) Descriptor

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

func (*Seat) GetDiscountId

func (m *Seat) GetDiscountId() int64

func (*Seat) GetDiscountName

func (m *Seat) GetDiscountName() string

func (*Seat) GetPrice

func (m *Seat) GetPrice() float64

func (*Seat) GetRowText

func (m *Seat) GetRowText() string

func (*Seat) GetSeatId

func (m *Seat) GetSeatId() int64

func (*Seat) GetSeatText

func (m *Seat) GetSeatText() string

func (*Seat) GetZoneColor

func (m *Seat) GetZoneColor() string

func (*Seat) GetZoneId

func (m *Seat) GetZoneId() int64

func (*Seat) ProtoMessage

func (*Seat) ProtoMessage()

func (*Seat) Reset

func (m *Seat) Reset()

func (*Seat) String

func (m *Seat) String() string

func (*Seat) Validate

func (m *Seat) Validate() error

Validate checks the field values on Seat with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Seat) XXX_DiscardUnknown

func (m *Seat) XXX_DiscardUnknown()

func (*Seat) XXX_Marshal

func (m *Seat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Seat) XXX_Merge

func (m *Seat) XXX_Merge(src proto.Message)

func (*Seat) XXX_Size

func (m *Seat) XXX_Size() int

func (*Seat) XXX_Unmarshal

func (m *Seat) XXX_Unmarshal(b []byte) error

type SeatValidationError

type SeatValidationError struct {
	// contains filtered or unexported fields
}

SeatValidationError is the validation error returned by Seat.Validate if the designated constraints aren't met.

func (SeatValidationError) Cause

func (e SeatValidationError) Cause() error

Cause function returns cause value.

func (SeatValidationError) Error

func (e SeatValidationError) Error() string

Error satisfies the builtin error interface

func (SeatValidationError) ErrorName

func (e SeatValidationError) ErrorName() string

ErrorName returns error name.

func (SeatValidationError) Field

func (e SeatValidationError) Field() string

Field function returns field value.

func (SeatValidationError) Key

func (e SeatValidationError) Key() bool

Key function returns key value.

func (SeatValidationError) Reason

func (e SeatValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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