// Code generated by protoc-gen-go. DO NOT EDIT.
// source: model/pay.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 PayOrder struct {
	//订单编号
	OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	//付费商品id
	PayItemId string `protobuf:"bytes,2,opt,name=pay_item_id,json=payItemId,proto3" json:"pay_item_id,omitempty"`
	//付费类型 1=金币（充值系统） 2=月卡 3=首充
	PayType int32 `protobuf:"zigzag32,3,opt,name=pay_type,json=payType,proto3" json:"pay_type,omitempty"`
	//创建时间
	CreateTime           int64    `protobuf:"zigzag64,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_PayOrder proto.InternalMessageInfo

func (m *PayOrder) GetOrderId() string {
	if m != nil {
		return m.OrderId
	}
	return ""
}

func (m *PayOrder) GetPayItemId() string {
	if m != nil {
		return m.PayItemId
	}
	return ""
}

func (m *PayOrder) GetPayType() int32 {
	if m != nil {
		return m.PayType
	}
	return 0
}

func (m *PayOrder) GetCreateTime() int64 {
	if m != nil {
		return m.CreateTime
	}
	return 0
}

//充值状态
type PayState struct {
	//付费商品id
	PayItemId string `protobuf:"bytes,1,opt,name=pay_item_id,json=payItemId,proto3" json:"pay_item_id,omitempty"`
	//是否购买过
	HasBought            bool     `protobuf:"varint,2,opt,name=has_bought,json=hasBought,proto3" json:"has_bought,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_PayState proto.InternalMessageInfo

func (m *PayState) GetPayItemId() string {
	if m != nil {
		return m.PayItemId
	}
	return ""
}

func (m *PayState) GetHasBought() bool {
	if m != nil {
		return m.HasBought
	}
	return false
}

func init() {
	proto.RegisterType((*PayOrder)(nil), "proto.PayOrder")
	proto.RegisterType((*PayState)(nil), "proto.PayState")
}

func init() { proto.RegisterFile("model/pay.proto", fileDescriptor_d21faafb4a502ee6) }

var fileDescriptor_d21faafb4a502ee6 = []byte{
	// 196 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8f, 0x3f, 0x4f, 0xc5, 0x30,
	0x0c, 0xc4, 0x15, 0xfe, 0xb5, 0x75, 0x07, 0x44, 0xa6, 0x32, 0x00, 0x55, 0xa7, 0x4e, 0x30, 0xf0,
	0x0d, 0xd8, 0x32, 0x81, 0x42, 0xf7, 0xc8, 0x25, 0x16, 0x8d, 0x44, 0x94, 0x28, 0x35, 0x43, 0xc6,
	0xf7, 0xcd, 0x9f, 0x92, 0xb7, 0x75, 0xb2, 0x7d, 0x3f, 0x59, 0x77, 0x07, 0xf7, 0x3e, 0x58, 0xfa,
	0x7b, 0x8b, 0x98, 0x5f, 0x63, 0x0a, 0x1c, 0xe4, 0x6d, 0x1d, 0xd3, 0x49, 0x40, 0xfb, 0x85, 0xf9,
	0x33, 0x59, 0x4a, 0xf2, 0x11, 0xda, 0x50, 0x16, 0xe3, 0xec, 0x20, 0x46, 0x31, 0x77, 0xba, 0xa9,
	0xb7, 0xb2, 0xf2, 0x19, 0xfa, 0x88, 0xd9, 0x38, 0x26, 0x5f, 0xe8, 0x55, 0xa5, 0x5d, 0xc4, 0xac,
	0x98, 0xbc, 0xb2, 0xe5, 0xb5, 0x70, 0xce, 0x91, 0x86, 0xeb, 0x51, 0xcc, 0x0f, 0xba, 0x89, 0x98,
	0x97, 0x1c, 0x49, 0xbe, 0x40, 0xff, 0x93, 0x08, 0x99, 0x0c, 0x3b, 0x4f, 0xc3, 0xcd, 0x28, 0x66,
	0xa9, 0xe1, 0x22, 0x2d, 0xce, 0xd3, 0xa4, 0x6a, 0x84, 0x6f, 0x46, 0xa6, 0xa3, 0x8f, 0x38, 0xfa,
	0x3c, 0x01, 0x6c, 0xb8, 0x9b, 0x35, 0xfc, 0xff, 0x6e, 0x5c, 0x63, 0xb4, 0xba, 0xdb, 0x70, 0xff,
	0xa8, 0xc2, 0x7a, 0x57, 0x5b, 0xbd, 0x9f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x6c, 0x1d, 0xb2,
	0xef, 0x00, 0x00, 0x00,
}
