// Code generated by protoc-gen-go. DO NOT EDIT.
// source: model/store.proto

package proto

import (
	fmt "fmt"
	math "math"
	proto "github.com/golang/protobuf/proto"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

//已购买商品
type StoreBoughtItem struct {
	//编号
	No int32 `protobuf:"zigzag32,1,opt,name=no,proto3" json:"no,omitempty"`
	//购买数量
	BuyNum int64 `protobuf:"zigzag64,2,opt,name=buy_num,json=buyNum,proto3" json:"buy_num,omitempty"`
	//是否折扣
	IsDiscount           bool     `protobuf:"varint,3,opt,name=is_discount,json=isDiscount,proto3" json:"is_discount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *StoreBoughtItem) Reset()         { *m = StoreBoughtItem{} }
func (m *StoreBoughtItem) String() string { return proto.CompactTextString(m) }
func (*StoreBoughtItem) ProtoMessage()    {}
func (*StoreBoughtItem) Descriptor() ([]byte, []int) {
	return fileDescriptor_2928d32affd50a18, []int{0}
}

func (m *StoreBoughtItem) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_StoreBoughtItem.Unmarshal(m, b)
}
func (m *StoreBoughtItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_StoreBoughtItem.Marshal(b, m, deterministic)
}
func (m *StoreBoughtItem) XXX_Merge(src proto.Message) {
	xxx_messageInfo_StoreBoughtItem.Merge(m, src)
}
func (m *StoreBoughtItem) XXX_Size() int {
	return xxx_messageInfo_StoreBoughtItem.Size(m)
}
func (m *StoreBoughtItem) XXX_DiscardUnknown() {
	xxx_messageInfo_StoreBoughtItem.DiscardUnknown(m)
}

var xxx_messageInfo_StoreBoughtItem proto.InternalMessageInfo

func (m *StoreBoughtItem) GetNo() int32 {
	if m != nil {
		return m.No
	}
	return 0
}

func (m *StoreBoughtItem) GetBuyNum() int64 {
	if m != nil {
		return m.BuyNum
	}
	return 0
}

func (m *StoreBoughtItem) GetIsDiscount() bool {
	if m != nil {
		return m.IsDiscount
	}
	return false
}

//折扣商品
type StoreDiscountItem struct {
	//商品编号
	No int32 `protobuf:"varint,1,opt,name=no,proto3" json:"no,omitempty"`
	//折扣
	Discount int32 `protobuf:"varint,2,opt,name=discount,proto3" json:"discount,omitempty"`
	//折扣后价格
	Cost                 *GameObjectCount `protobuf:"bytes,3,opt,name=cost,proto3" json:"cost,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (m *StoreDiscountItem) Reset()         { *m = StoreDiscountItem{} }
func (m *StoreDiscountItem) String() string { return proto.CompactTextString(m) }
func (*StoreDiscountItem) ProtoMessage()    {}
func (*StoreDiscountItem) Descriptor() ([]byte, []int) {
	return fileDescriptor_2928d32affd50a18, []int{1}
}

func (m *StoreDiscountItem) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_StoreDiscountItem.Unmarshal(m, b)
}
func (m *StoreDiscountItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_StoreDiscountItem.Marshal(b, m, deterministic)
}
func (m *StoreDiscountItem) XXX_Merge(src proto.Message) {
	xxx_messageInfo_StoreDiscountItem.Merge(m, src)
}
func (m *StoreDiscountItem) XXX_Size() int {
	return xxx_messageInfo_StoreDiscountItem.Size(m)
}
func (m *StoreDiscountItem) XXX_DiscardUnknown() {
	xxx_messageInfo_StoreDiscountItem.DiscardUnknown(m)
}

var xxx_messageInfo_StoreDiscountItem proto.InternalMessageInfo

func (m *StoreDiscountItem) GetNo() int32 {
	if m != nil {
		return m.No
	}
	return 0
}

func (m *StoreDiscountItem) GetDiscount() int32 {
	if m != nil {
		return m.Discount
	}
	return 0
}

func (m *StoreDiscountItem) GetCost() *GameObjectCount {
	if m != nil {
		return m.Cost
	}
	return nil
}

func init() {
	proto.RegisterType((*StoreBoughtItem)(nil), "proto.StoreBoughtItem")
	proto.RegisterType((*StoreDiscountItem)(nil), "proto.StoreDiscountItem")
}

func init() { proto.RegisterFile("model/store.proto", fileDescriptor_2928d32affd50a18) }

var fileDescriptor_2928d32affd50a18 = []byte{
	// 206 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcc, 0xcd, 0x4f, 0x49,
	0xcd, 0xd1, 0x2f, 0x2e, 0xc9, 0x2f, 0x4a, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05,
	0x53, 0x52, 0xe2, 0x10, 0x99, 0xf4, 0xc4, 0xdc, 0xd4, 0xf8, 0xfc, 0xa4, 0xac, 0xd4, 0xe4, 0x12,
	0x88, 0xbc, 0x52, 0x34, 0x17, 0x7f, 0x30, 0x48, 0xb9, 0x53, 0x7e, 0x69, 0x7a, 0x46, 0x89, 0x67,
	0x49, 0x6a, 0xae, 0x10, 0x1f, 0x17, 0x53, 0x5e, 0xbe, 0x04, 0xa3, 0x02, 0xa3, 0x86, 0x60, 0x10,
	0x53, 0x5e, 0xbe, 0x90, 0x38, 0x17, 0x7b, 0x52, 0x69, 0x65, 0x7c, 0x5e, 0x69, 0xae, 0x04, 0x93,
	0x02, 0xa3, 0x86, 0x50, 0x10, 0x5b, 0x52, 0x69, 0xa5, 0x5f, 0x69, 0xae, 0x90, 0x3c, 0x17, 0x77,
	0x66, 0x71, 0x7c, 0x4a, 0x66, 0x71, 0x72, 0x7e, 0x69, 0x5e, 0x89, 0x04, 0xb3, 0x02, 0xa3, 0x06,
	0x47, 0x10, 0x57, 0x66, 0xb1, 0x0b, 0x54, 0x44, 0x29, 0x9b, 0x4b, 0x10, 0x6c, 0x38, 0x4c, 0x00,
	0xcd, 0x78, 0x56, 0xb0, 0xf1, 0x52, 0x5c, 0x1c, 0x70, 0x23, 0x98, 0xc0, 0xa2, 0x70, 0xbe, 0x90,
	0x16, 0x17, 0x4b, 0x72, 0x7e, 0x31, 0xc4, 0x68, 0x6e, 0x23, 0x31, 0x88, 0x9b, 0xf5, 0xdc, 0x13,
	0x73, 0x53, 0xfd, 0xc1, 0x9e, 0x70, 0x06, 0xa9, 0x0a, 0x02, 0xab, 0x49, 0x62, 0x03, 0x4b, 0x1a,
	0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x78, 0x15, 0xe5, 0x05, 0x01, 0x00, 0x00,
}
