Documentation ¶
Index ¶
- type Seat
- func (*Seat) Descriptor() ([]byte, []int)
- func (m *Seat) GetDiscountId() int64
- func (m *Seat) GetDiscountName() string
- func (m *Seat) GetPrice() float64
- func (m *Seat) GetRowText() string
- func (m *Seat) GetSeatId() int64
- func (m *Seat) GetSeatText() string
- func (m *Seat) GetZoneColor() string
- func (m *Seat) GetZoneId() int64
- func (*Seat) ProtoMessage()
- func (m *Seat) Reset()
- func (m *Seat) String() string
- func (m *Seat) Validate() error
- func (m *Seat) XXX_DiscardUnknown()
- func (m *Seat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Seat) XXX_Merge(src proto.Message)
- func (m *Seat) XXX_Size() int
- func (m *Seat) XXX_Unmarshal(b []byte) error
- type SeatValidationError
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) GetDiscountId ¶
func (*Seat) GetDiscountName ¶
func (*Seat) GetRowText ¶
func (*Seat) GetSeatText ¶
func (*Seat) GetZoneColor ¶
func (*Seat) ProtoMessage ¶
func (*Seat) ProtoMessage()
func (*Seat) Validate ¶
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_Unmarshal ¶
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.
Click to show internal directories.
Click to hide internal directories.