model

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package model is a generated protocol buffer package.

It is generated from these files:

app/service/main/vipinfo/model/model.proto

It has these top-level messages:

VipUserInfo

Index

Constants

View Source
const (
	NotVip    = 0 //非大会员
	Vip       = 1 //月度大会员
	AnnualVip = 2 //年度会员
)

大会员类型

View Source
const (
	VipStatusOverTime    = 0 //过期
	VipStatusNotOverTime = 1 //未过期
	VipStatusFrozen      = 2 //冻结
	VipStatusBan         = 3 //封禁
)

大会员状态

View Source
const (
	NormalPay int32 = iota
	AutoRenewPay
)

vip pay type.

View Source
const (
	IapPayChannelID = 100
)

pay channel id

Variables

View Source
var (
	ErrInvalidLengthModel = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModel   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type ArgMid

type ArgMid struct {
	Mid int64 `form:"mid" validate:"required,min=1,gte=1"`
}

ArgMid arg mid.

type ArgMids

type ArgMids struct {
	Mids []int64 `form:"mids,split" validate:"min=1,max=100"`
}

ArgMids card mids arg.

type VipUserInfo

type VipUserInfo struct {
	ID                   int64                       `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
	Mid                  int64                       `protobuf:"varint,2,opt,name=Mid,proto3" json:"mid"`
	VipType              int32                       `protobuf:"varint,3,opt,name=VipType,proto3" json:"vip_type"`
	VipPayType           int32                       `protobuf:"varint,4,opt,name=VipPayType,proto3" json:"vip_pay_type"`
	PayChannelID         int32                       `protobuf:"varint,5,opt,name=PayChannelID,proto3" json:"pay_channel_id"`
	VipStatus            int32                       `protobuf:"varint,6,opt,name=VipStatus,proto3" json:"vip_status"`
	VipStartTime         go_common_library_time.Time `protobuf:"varint,7,opt,name=VipStartTime,proto3,casttype=go-common/library/time.Time" json:"vip_start_time"`
	VipRecentTime        go_common_library_time.Time `protobuf:"varint,8,opt,name=VipRecentTime,proto3,casttype=go-common/library/time.Time" json:"vip_recent_time"`
	VipOverdueTime       go_common_library_time.Time `protobuf:"varint,9,opt,name=VipOverdueTime,proto3,casttype=go-common/library/time.Time" json:"vip_overdue_time"`
	AnnualVipOverdueTime go_common_library_time.Time `protobuf:"varint,10,opt,name=AnnualVipOverdueTime,proto3,casttype=go-common/library/time.Time" json:"annual_vip_overdue_time"`
	Ctime                go_common_library_time.Time `protobuf:"varint,11,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,12,opt,name=Mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
	IosOverdueTime       go_common_library_time.Time `protobuf:"varint,13,opt,name=IosOverdueTime,proto3,casttype=go-common/library/time.Time" json:"ios_overdue_time"`
	Ver                  int64                       `protobuf:"varint,14,opt,name=Ver,proto3" json:"ver"`
}

func (*VipUserInfo) Descriptor

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

func (*VipUserInfo) Marshal

func (m *VipUserInfo) Marshal() (dAtA []byte, err error)

func (*VipUserInfo) MarshalTo

func (m *VipUserInfo) MarshalTo(dAtA []byte) (int, error)

func (*VipUserInfo) ProtoMessage

func (*VipUserInfo) ProtoMessage()

func (*VipUserInfo) Reset

func (m *VipUserInfo) Reset()

func (*VipUserInfo) Size

func (m *VipUserInfo) Size() (n int)

func (*VipUserInfo) String

func (m *VipUserInfo) String() string

func (*VipUserInfo) Unmarshal

func (m *VipUserInfo) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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