model

package
v0.0.0-...-25e9490 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Coupon_DeletedAt_DEFAULT int64
View Source
var Coupon_DiscountAmount_DEFAULT float64
View Source
var Coupon_Discount_DEFAULT float64
View Source
var Coupon_UpdatedAt_DEFAULT int64
View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var PriceHistory_PrevVersion_DEFAULT int64
View Source
var SkuImage_DeletedAt_DEFAULT int64
View Source
var Sku_DeletedAt_DEFAULT int64
View Source
var Sku_SaleAttr_DEFAULT []*AttrValue
View Source
var SpuImage_DeletedAt_DEFAULT int64
View Source
var Spu_DeletedAt_DEFAULT int64
View Source
var UserCoupon_DiscountAmount_DEFAULT float64
View Source
var UserCoupon_Discount_DEFAULT float64

Functions

This section is empty.

Types

type AttrValue

type AttrValue struct {
	SaleAttr  string `thrift:"saleAttr,1,required" frugal:"1,required,string" json:"saleAttr"`
	SaleValue string `thrift:"saleValue,2,required" frugal:"2,required,string" json:"saleValue"`
}

func NewAttrValue

func NewAttrValue() *AttrValue

func (*AttrValue) BLength

func (p *AttrValue) BLength() int

func (*AttrValue) DeepEqual

func (p *AttrValue) DeepEqual(ano *AttrValue) bool

func (*AttrValue) FastRead

func (p *AttrValue) FastRead(buf []byte) (int, error)

func (*AttrValue) FastReadField1

func (p *AttrValue) FastReadField1(buf []byte) (int, error)

func (*AttrValue) FastReadField2

func (p *AttrValue) FastReadField2(buf []byte) (int, error)

func (*AttrValue) FastWrite

func (p *AttrValue) FastWrite(buf []byte) int

func (*AttrValue) FastWriteNocopy

func (p *AttrValue) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*AttrValue) Field1DeepEqual

func (p *AttrValue) Field1DeepEqual(src string) bool

func (*AttrValue) Field2DeepEqual

func (p *AttrValue) Field2DeepEqual(src string) bool

func (*AttrValue) GetSaleAttr

func (p *AttrValue) GetSaleAttr() (v string)

func (*AttrValue) GetSaleValue

func (p *AttrValue) GetSaleValue() (v string)

func (*AttrValue) InitDefault

func (p *AttrValue) InitDefault()

func (*AttrValue) SetSaleAttr

func (p *AttrValue) SetSaleAttr(val string)

func (*AttrValue) SetSaleValue

func (p *AttrValue) SetSaleValue(val string)

func (*AttrValue) String

func (p *AttrValue) String() string

type BaseOrder

type BaseOrder struct {
	Id                 int64   `thrift:"id,1,required" frugal:"1,required,i64" json:"id"`
	Status             string  `thrift:"status,2,required" frugal:"2,required,string" json:"status"`
	TotalAmountOfGoods float64 `thrift:"totalAmountOfGoods,3,required" frugal:"3,required,double" json:"totalAmountOfGoods"`
	PaymentAmount      float64 `thrift:"paymentAmount,4,required" frugal:"4,required,double" json:"paymentAmount"`
	PaymentStatus      string  `thrift:"paymentStatus,5,required" frugal:"5,required,string" json:"paymentStatus"`
}
var BaseOrderWithGoods_Order_DEFAULT *BaseOrder

func NewBaseOrder

func NewBaseOrder() *BaseOrder

func (*BaseOrder) BLength

func (p *BaseOrder) BLength() int

func (*BaseOrder) DeepEqual

func (p *BaseOrder) DeepEqual(ano *BaseOrder) bool

func (*BaseOrder) FastRead

func (p *BaseOrder) FastRead(buf []byte) (int, error)

func (*BaseOrder) FastReadField1

func (p *BaseOrder) FastReadField1(buf []byte) (int, error)

func (*BaseOrder) FastReadField2

func (p *BaseOrder) FastReadField2(buf []byte) (int, error)

func (*BaseOrder) FastReadField3

func (p *BaseOrder) FastReadField3(buf []byte) (int, error)

func (*BaseOrder) FastReadField4

func (p *BaseOrder) FastReadField4(buf []byte) (int, error)

func (*BaseOrder) FastReadField5

func (p *BaseOrder) FastReadField5(buf []byte) (int, error)

func (*BaseOrder) FastWrite

func (p *BaseOrder) FastWrite(buf []byte) int

func (*BaseOrder) FastWriteNocopy

func (p *BaseOrder) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*BaseOrder) Field1DeepEqual

func (p *BaseOrder) Field1DeepEqual(src int64) bool

func (*BaseOrder) Field2DeepEqual

func (p *BaseOrder) Field2DeepEqual(src string) bool

func (*BaseOrder) Field3DeepEqual

func (p *BaseOrder) Field3DeepEqual(src float64) bool

func (*BaseOrder) Field4DeepEqual

func (p *BaseOrder) Field4DeepEqual(src float64) bool

func (*BaseOrder) Field5DeepEqual

func (p *BaseOrder) Field5DeepEqual(src string) bool

func (*BaseOrder) GetId

func (p *BaseOrder) GetId() (v int64)

func (*BaseOrder) GetPaymentAmount

func (p *BaseOrder) GetPaymentAmount() (v float64)

func (*BaseOrder) GetPaymentStatus

func (p *BaseOrder) GetPaymentStatus() (v string)

func (*BaseOrder) GetStatus

func (p *BaseOrder) GetStatus() (v string)

func (*BaseOrder) GetTotalAmountOfGoods

func (p *BaseOrder) GetTotalAmountOfGoods() (v float64)

func (*BaseOrder) InitDefault

func (p *BaseOrder) InitDefault()

func (*BaseOrder) SetId

func (p *BaseOrder) SetId(val int64)

func (*BaseOrder) SetPaymentAmount

func (p *BaseOrder) SetPaymentAmount(val float64)

func (*BaseOrder) SetPaymentStatus

func (p *BaseOrder) SetPaymentStatus(val string)

func (*BaseOrder) SetStatus

func (p *BaseOrder) SetStatus(val string)

func (*BaseOrder) SetTotalAmountOfGoods

func (p *BaseOrder) SetTotalAmountOfGoods(val float64)

func (*BaseOrder) String

func (p *BaseOrder) String() string

type BaseOrderGoods

type BaseOrderGoods struct {
	MerchantName     string `thrift:"merchantName,1,required" frugal:"1,required,string" json:"merchantName"`
	GoodsName        int64  `thrift:"goodsName,2,required" frugal:"2,required,i64" json:"goodsName"`
	StyleName        int64  `thrift:"styleName,3,required" frugal:"3,required,i64" json:"styleName"`
	PurchaseQuantity int64  `thrift:"purchaseQuantity,4,required" frugal:"4,required,i64" json:"purchaseQuantity"`
	StyleHeadDrawing string `thrift:"styleHeadDrawing,5,required" frugal:"5,required,string" json:"styleHeadDrawing"`
	CouponID         int64  `thrift:"couponID,6" frugal:"6,default,i64" json:"couponID"`
}

func NewBaseOrderGoods

func NewBaseOrderGoods() *BaseOrderGoods

func (*BaseOrderGoods) BLength

func (p *BaseOrderGoods) BLength() int

func (*BaseOrderGoods) DeepEqual

func (p *BaseOrderGoods) DeepEqual(ano *BaseOrderGoods) bool

func (*BaseOrderGoods) FastRead

func (p *BaseOrderGoods) FastRead(buf []byte) (int, error)

func (*BaseOrderGoods) FastReadField1

func (p *BaseOrderGoods) FastReadField1(buf []byte) (int, error)

func (*BaseOrderGoods) FastReadField2

func (p *BaseOrderGoods) FastReadField2(buf []byte) (int, error)

func (*BaseOrderGoods) FastReadField3

func (p *BaseOrderGoods) FastReadField3(buf []byte) (int, error)

func (*BaseOrderGoods) FastReadField4

func (p *BaseOrderGoods) FastReadField4(buf []byte) (int, error)

func (*BaseOrderGoods) FastReadField5

func (p *BaseOrderGoods) FastReadField5(buf []byte) (int, error)

func (*BaseOrderGoods) FastReadField6

func (p *BaseOrderGoods) FastReadField6(buf []byte) (int, error)

func (*BaseOrderGoods) FastWrite

func (p *BaseOrderGoods) FastWrite(buf []byte) int

func (*BaseOrderGoods) FastWriteNocopy

func (p *BaseOrderGoods) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*BaseOrderGoods) Field1DeepEqual

func (p *BaseOrderGoods) Field1DeepEqual(src string) bool

func (*BaseOrderGoods) Field2DeepEqual

func (p *BaseOrderGoods) Field2DeepEqual(src int64) bool

func (*BaseOrderGoods) Field3DeepEqual

func (p *BaseOrderGoods) Field3DeepEqual(src int64) bool

func (*BaseOrderGoods) Field4DeepEqual

func (p *BaseOrderGoods) Field4DeepEqual(src int64) bool

func (*BaseOrderGoods) Field5DeepEqual

func (p *BaseOrderGoods) Field5DeepEqual(src string) bool

func (*BaseOrderGoods) Field6DeepEqual

func (p *BaseOrderGoods) Field6DeepEqual(src int64) bool

func (*BaseOrderGoods) GetCouponID

func (p *BaseOrderGoods) GetCouponID() (v int64)

func (*BaseOrderGoods) GetGoodsName

func (p *BaseOrderGoods) GetGoodsName() (v int64)

func (*BaseOrderGoods) GetMerchantName

func (p *BaseOrderGoods) GetMerchantName() (v string)

func (*BaseOrderGoods) GetPurchaseQuantity

func (p *BaseOrderGoods) GetPurchaseQuantity() (v int64)

func (*BaseOrderGoods) GetStyleHeadDrawing

func (p *BaseOrderGoods) GetStyleHeadDrawing() (v string)

func (*BaseOrderGoods) GetStyleName

func (p *BaseOrderGoods) GetStyleName() (v int64)

func (*BaseOrderGoods) InitDefault

func (p *BaseOrderGoods) InitDefault()

func (*BaseOrderGoods) SetCouponID

func (p *BaseOrderGoods) SetCouponID(val int64)

func (*BaseOrderGoods) SetGoodsName

func (p *BaseOrderGoods) SetGoodsName(val int64)

func (*BaseOrderGoods) SetMerchantName

func (p *BaseOrderGoods) SetMerchantName(val string)

func (*BaseOrderGoods) SetPurchaseQuantity

func (p *BaseOrderGoods) SetPurchaseQuantity(val int64)

func (*BaseOrderGoods) SetStyleHeadDrawing

func (p *BaseOrderGoods) SetStyleHeadDrawing(val string)

func (*BaseOrderGoods) SetStyleName

func (p *BaseOrderGoods) SetStyleName(val int64)

func (*BaseOrderGoods) String

func (p *BaseOrderGoods) String() string

type BaseOrderWithGoods

type BaseOrderWithGoods struct {
	Order *BaseOrder        `thrift:"order,1,required" frugal:"1,required,BaseOrder" json:"order"`
	Goods []*BaseOrderGoods `thrift:"goods,2,required" frugal:"2,required,list<BaseOrderGoods>" json:"goods"`
}

func NewBaseOrderWithGoods

func NewBaseOrderWithGoods() *BaseOrderWithGoods

func (*BaseOrderWithGoods) BLength

func (p *BaseOrderWithGoods) BLength() int

func (*BaseOrderWithGoods) DeepEqual

func (p *BaseOrderWithGoods) DeepEqual(ano *BaseOrderWithGoods) bool

func (*BaseOrderWithGoods) FastRead

func (p *BaseOrderWithGoods) FastRead(buf []byte) (int, error)

func (*BaseOrderWithGoods) FastReadField1

func (p *BaseOrderWithGoods) FastReadField1(buf []byte) (int, error)

func (*BaseOrderWithGoods) FastReadField2

func (p *BaseOrderWithGoods) FastReadField2(buf []byte) (int, error)

func (*BaseOrderWithGoods) FastWrite

func (p *BaseOrderWithGoods) FastWrite(buf []byte) int

func (*BaseOrderWithGoods) FastWriteNocopy

func (p *BaseOrderWithGoods) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*BaseOrderWithGoods) Field1DeepEqual

func (p *BaseOrderWithGoods) Field1DeepEqual(src *BaseOrder) bool

func (*BaseOrderWithGoods) Field2DeepEqual

func (p *BaseOrderWithGoods) Field2DeepEqual(src []*BaseOrderGoods) bool

func (*BaseOrderWithGoods) GetGoods

func (p *BaseOrderWithGoods) GetGoods() (v []*BaseOrderGoods)

func (*BaseOrderWithGoods) GetOrder

func (p *BaseOrderWithGoods) GetOrder() (v *BaseOrder)

func (*BaseOrderWithGoods) InitDefault

func (p *BaseOrderWithGoods) InitDefault()

func (*BaseOrderWithGoods) IsSetOrder

func (p *BaseOrderWithGoods) IsSetOrder() bool

func (*BaseOrderWithGoods) SetGoods

func (p *BaseOrderWithGoods) SetGoods(val []*BaseOrderGoods)

func (*BaseOrderWithGoods) SetOrder

func (p *BaseOrderWithGoods) SetOrder(val *BaseOrder)

func (*BaseOrderWithGoods) String

func (p *BaseOrderWithGoods) String() string

type BaseResp

type BaseResp struct {
	Code int64  `thrift:"code,1" frugal:"1,default,i64" json:"code"`
	Msg  string `thrift:"msg,2" frugal:"2,default,string" json:"msg"`
}

func NewBaseResp

func NewBaseResp() *BaseResp

func (*BaseResp) BLength

func (p *BaseResp) BLength() int

func (*BaseResp) DeepEqual

func (p *BaseResp) DeepEqual(ano *BaseResp) bool

func (*BaseResp) FastRead

func (p *BaseResp) FastRead(buf []byte) (int, error)

func (*BaseResp) FastReadField1

func (p *BaseResp) FastReadField1(buf []byte) (int, error)

func (*BaseResp) FastReadField2

func (p *BaseResp) FastReadField2(buf []byte) (int, error)

func (*BaseResp) FastWrite

func (p *BaseResp) FastWrite(buf []byte) int

func (*BaseResp) FastWriteNocopy

func (p *BaseResp) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*BaseResp) Field1DeepEqual

func (p *BaseResp) Field1DeepEqual(src int64) bool

func (*BaseResp) Field2DeepEqual

func (p *BaseResp) Field2DeepEqual(src string) bool

func (*BaseResp) GetCode

func (p *BaseResp) GetCode() (v int64)

func (*BaseResp) GetMsg

func (p *BaseResp) GetMsg() (v string)

func (*BaseResp) InitDefault

func (p *BaseResp) InitDefault()

func (*BaseResp) SetCode

func (p *BaseResp) SetCode(val int64)

func (*BaseResp) SetMsg

func (p *BaseResp) SetMsg(val string)

func (*BaseResp) String

func (p *BaseResp) String() string

type CategoryInfo

type CategoryInfo struct {
	CategoryID int64  `thrift:"categoryID,1,required" frugal:"1,required,i64" json:"categoryID"`
	Name       string `thrift:"name,2,required" frugal:"2,required,string" json:"name"`
}

func NewCategoryInfo

func NewCategoryInfo() *CategoryInfo

func (*CategoryInfo) BLength

func (p *CategoryInfo) BLength() int

func (*CategoryInfo) DeepEqual

func (p *CategoryInfo) DeepEqual(ano *CategoryInfo) bool

func (*CategoryInfo) FastRead

func (p *CategoryInfo) FastRead(buf []byte) (int, error)

func (*CategoryInfo) FastReadField1

func (p *CategoryInfo) FastReadField1(buf []byte) (int, error)

func (*CategoryInfo) FastReadField2

func (p *CategoryInfo) FastReadField2(buf []byte) (int, error)

func (*CategoryInfo) FastWrite

func (p *CategoryInfo) FastWrite(buf []byte) int

func (*CategoryInfo) FastWriteNocopy

func (p *CategoryInfo) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*CategoryInfo) Field1DeepEqual

func (p *CategoryInfo) Field1DeepEqual(src int64) bool

func (*CategoryInfo) Field2DeepEqual

func (p *CategoryInfo) Field2DeepEqual(src string) bool

func (*CategoryInfo) GetCategoryID

func (p *CategoryInfo) GetCategoryID() (v int64)

func (*CategoryInfo) GetName

func (p *CategoryInfo) GetName() (v string)

func (*CategoryInfo) InitDefault

func (p *CategoryInfo) InitDefault()

func (*CategoryInfo) SetCategoryID

func (p *CategoryInfo) SetCategoryID(val int64)

func (*CategoryInfo) SetName

func (p *CategoryInfo) SetName(val string)

func (*CategoryInfo) String

func (p *CategoryInfo) String() string

type Coupon

type Coupon struct {
	CouponID       int64    `thrift:"couponID,1,required" frugal:"1,required,i64" json:"couponID"`
	CreatorID      int64    `thrift:"creatorID,2,required" frugal:"2,required,i64" json:"creatorID"`
	DeadlineForGet int64    `thrift:"deadlineForGet,3,required" frugal:"3,required,i64" json:"deadlineForGet"`
	Name           string   `thrift:"name,4,required" frugal:"4,required,string" json:"name"`
	TypeInfo       int32    `thrift:"typeInfo,5,required" frugal:"5,required,i32" json:"typeInfo"`
	ConditionCost  float64  `thrift:"conditionCost,6,required" frugal:"6,required,double" json:"conditionCost"`
	DiscountAmount *float64 `thrift:"discountAmount,7,optional" frugal:"7,optional,double" json:"discountAmount,omitempty"`
	Discount       *float64 `thrift:"discount,8,optional" frugal:"8,optional,double" json:"discount,omitempty"`
	RangeType      int32    `thrift:"rangeType,9,required" frugal:"9,required,i32" json:"rangeType"`
	RangeId        int64    `thrift:"rangeId,10,required" frugal:"10,required,i64" json:"rangeId"`
	ExpireTime     int64    `thrift:"expireTime,11,required" frugal:"11,required,i64" json:"expireTime"`
	Description    string   `thrift:"description,12,required" frugal:"12,required,string" json:"description"`
	CreatedAt      int64    `thrift:"createdAt,13,required" frugal:"13,required,i64" json:"createdAt"`
	UpdatedAt      *int64   `thrift:"updatedAt,14,optional" frugal:"14,optional,i64" json:"updatedAt,omitempty"`
	DeletedAt      *int64   `thrift:"deletedAt,15,optional" frugal:"15,optional,i64" json:"deletedAt,omitempty"`
}

func NewCoupon

func NewCoupon() *Coupon

func (*Coupon) BLength

func (p *Coupon) BLength() int

func (*Coupon) DeepEqual

func (p *Coupon) DeepEqual(ano *Coupon) bool

func (*Coupon) FastRead

func (p *Coupon) FastRead(buf []byte) (int, error)

func (*Coupon) FastReadField1

func (p *Coupon) FastReadField1(buf []byte) (int, error)

func (*Coupon) FastReadField10

func (p *Coupon) FastReadField10(buf []byte) (int, error)

func (*Coupon) FastReadField11

func (p *Coupon) FastReadField11(buf []byte) (int, error)

func (*Coupon) FastReadField12

func (p *Coupon) FastReadField12(buf []byte) (int, error)

func (*Coupon) FastReadField13

func (p *Coupon) FastReadField13(buf []byte) (int, error)

func (*Coupon) FastReadField14

func (p *Coupon) FastReadField14(buf []byte) (int, error)

func (*Coupon) FastReadField15

func (p *Coupon) FastReadField15(buf []byte) (int, error)

func (*Coupon) FastReadField2

func (p *Coupon) FastReadField2(buf []byte) (int, error)

func (*Coupon) FastReadField3

func (p *Coupon) FastReadField3(buf []byte) (int, error)

func (*Coupon) FastReadField4

func (p *Coupon) FastReadField4(buf []byte) (int, error)

func (*Coupon) FastReadField5

func (p *Coupon) FastReadField5(buf []byte) (int, error)

func (*Coupon) FastReadField6

func (p *Coupon) FastReadField6(buf []byte) (int, error)

func (*Coupon) FastReadField7

func (p *Coupon) FastReadField7(buf []byte) (int, error)

func (*Coupon) FastReadField8

func (p *Coupon) FastReadField8(buf []byte) (int, error)

func (*Coupon) FastReadField9

func (p *Coupon) FastReadField9(buf []byte) (int, error)

func (*Coupon) FastWrite

func (p *Coupon) FastWrite(buf []byte) int

func (*Coupon) FastWriteNocopy

func (p *Coupon) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*Coupon) Field10DeepEqual

func (p *Coupon) Field10DeepEqual(src int64) bool

func (*Coupon) Field11DeepEqual

func (p *Coupon) Field11DeepEqual(src int64) bool

func (*Coupon) Field12DeepEqual

func (p *Coupon) Field12DeepEqual(src string) bool

func (*Coupon) Field13DeepEqual

func (p *Coupon) Field13DeepEqual(src int64) bool

func (*Coupon) Field14DeepEqual

func (p *Coupon) Field14DeepEqual(src *int64) bool

func (*Coupon) Field15DeepEqual

func (p *Coupon) Field15DeepEqual(src *int64) bool

func (*Coupon) Field1DeepEqual

func (p *Coupon) Field1DeepEqual(src int64) bool

func (*Coupon) Field2DeepEqual

func (p *Coupon) Field2DeepEqual(src int64) bool

func (*Coupon) Field3DeepEqual

func (p *Coupon) Field3DeepEqual(src int64) bool

func (*Coupon) Field4DeepEqual

func (p *Coupon) Field4DeepEqual(src string) bool

func (*Coupon) Field5DeepEqual

func (p *Coupon) Field5DeepEqual(src int32) bool

func (*Coupon) Field6DeepEqual

func (p *Coupon) Field6DeepEqual(src float64) bool

func (*Coupon) Field7DeepEqual

func (p *Coupon) Field7DeepEqual(src *float64) bool

func (*Coupon) Field8DeepEqual

func (p *Coupon) Field8DeepEqual(src *float64) bool

func (*Coupon) Field9DeepEqual

func (p *Coupon) Field9DeepEqual(src int32) bool

func (*Coupon) GetConditionCost

func (p *Coupon) GetConditionCost() (v float64)

func (*Coupon) GetCouponID

func (p *Coupon) GetCouponID() (v int64)

func (*Coupon) GetCreatedAt

func (p *Coupon) GetCreatedAt() (v int64)

func (*Coupon) GetCreatorID

func (p *Coupon) GetCreatorID() (v int64)

func (*Coupon) GetDeadlineForGet

func (p *Coupon) GetDeadlineForGet() (v int64)

func (*Coupon) GetDeletedAt

func (p *Coupon) GetDeletedAt() (v int64)

func (*Coupon) GetDescription

func (p *Coupon) GetDescription() (v string)

func (*Coupon) GetDiscount

func (p *Coupon) GetDiscount() (v float64)

func (*Coupon) GetDiscountAmount

func (p *Coupon) GetDiscountAmount() (v float64)

func (*Coupon) GetExpireTime

func (p *Coupon) GetExpireTime() (v int64)

func (*Coupon) GetName

func (p *Coupon) GetName() (v string)

func (*Coupon) GetRangeId

func (p *Coupon) GetRangeId() (v int64)

func (*Coupon) GetRangeType

func (p *Coupon) GetRangeType() (v int32)

func (*Coupon) GetTypeInfo

func (p *Coupon) GetTypeInfo() (v int32)

func (*Coupon) GetUpdatedAt

func (p *Coupon) GetUpdatedAt() (v int64)

func (*Coupon) InitDefault

func (p *Coupon) InitDefault()

func (*Coupon) IsSetDeletedAt

func (p *Coupon) IsSetDeletedAt() bool

func (*Coupon) IsSetDiscount

func (p *Coupon) IsSetDiscount() bool

func (*Coupon) IsSetDiscountAmount

func (p *Coupon) IsSetDiscountAmount() bool

func (*Coupon) IsSetUpdatedAt

func (p *Coupon) IsSetUpdatedAt() bool

func (*Coupon) SetConditionCost

func (p *Coupon) SetConditionCost(val float64)

func (*Coupon) SetCouponID

func (p *Coupon) SetCouponID(val int64)

func (*Coupon) SetCreatedAt

func (p *Coupon) SetCreatedAt(val int64)

func (*Coupon) SetCreatorID

func (p *Coupon) SetCreatorID(val int64)

func (*Coupon) SetDeadlineForGet

func (p *Coupon) SetDeadlineForGet(val int64)

func (*Coupon) SetDeletedAt

func (p *Coupon) SetDeletedAt(val *int64)

func (*Coupon) SetDescription

func (p *Coupon) SetDescription(val string)

func (*Coupon) SetDiscount

func (p *Coupon) SetDiscount(val *float64)

func (*Coupon) SetDiscountAmount

func (p *Coupon) SetDiscountAmount(val *float64)

func (*Coupon) SetExpireTime

func (p *Coupon) SetExpireTime(val int64)

func (*Coupon) SetName

func (p *Coupon) SetName(val string)

func (*Coupon) SetRangeId

func (p *Coupon) SetRangeId(val int64)

func (*Coupon) SetRangeType

func (p *Coupon) SetRangeType(val int32)

func (*Coupon) SetTypeInfo

func (p *Coupon) SetTypeInfo(val int32)

func (*Coupon) SetUpdatedAt

func (p *Coupon) SetUpdatedAt(val *int64)

func (*Coupon) String

func (p *Coupon) String() string

type CreditCardInfo

type CreditCardInfo struct {
	MaskedCreditCardNumber    string `thrift:"maskedCreditCardNumber,1,required" frugal:"1,required,string" json:"maskedCreditCardNumber"`
	CreditCardExpirationYear  int64  `thrift:"creditCardExpirationYear,2,required" frugal:"2,required,i64" json:"creditCardExpirationYear"`
	CreditCardExpirationMonth int64  `thrift:"creditCardExpirationMonth,3,required" frugal:"3,required,i64" json:"creditCardExpirationMonth"`
	CreditCardCvv             int64  `thrift:"creditCardCvv,4,required" frugal:"4,required,i64" json:"creditCardCvv"`
}

func NewCreditCardInfo

func NewCreditCardInfo() *CreditCardInfo

func (*CreditCardInfo) BLength

func (p *CreditCardInfo) BLength() int

func (*CreditCardInfo) DeepEqual

func (p *CreditCardInfo) DeepEqual(ano *CreditCardInfo) bool

func (*CreditCardInfo) FastRead

func (p *CreditCardInfo) FastRead(buf []byte) (int, error)

func (*CreditCardInfo) FastReadField1

func (p *CreditCardInfo) FastReadField1(buf []byte) (int, error)

func (*CreditCardInfo) FastReadField2

func (p *CreditCardInfo) FastReadField2(buf []byte) (int, error)

func (*CreditCardInfo) FastReadField3

func (p *CreditCardInfo) FastReadField3(buf []byte) (int, error)

func (*CreditCardInfo) FastReadField4

func (p *CreditCardInfo) FastReadField4(buf []byte) (int, error)

func (*CreditCardInfo) FastWrite

func (p *CreditCardInfo) FastWrite(buf []byte) int

func (*CreditCardInfo) FastWriteNocopy

func (p *CreditCardInfo) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*CreditCardInfo) Field1DeepEqual

func (p *CreditCardInfo) Field1DeepEqual(src string) bool

func (*CreditCardInfo) Field2DeepEqual

func (p *CreditCardInfo) Field2DeepEqual(src int64) bool

func (*CreditCardInfo) Field3DeepEqual

func (p *CreditCardInfo) Field3DeepEqual(src int64) bool

func (*CreditCardInfo) Field4DeepEqual

func (p *CreditCardInfo) Field4DeepEqual(src int64) bool

func (*CreditCardInfo) GetCreditCardCvv

func (p *CreditCardInfo) GetCreditCardCvv() (v int64)

func (*CreditCardInfo) GetCreditCardExpirationMonth

func (p *CreditCardInfo) GetCreditCardExpirationMonth() (v int64)

func (*CreditCardInfo) GetCreditCardExpirationYear

func (p *CreditCardInfo) GetCreditCardExpirationYear() (v int64)

func (*CreditCardInfo) GetMaskedCreditCardNumber

func (p *CreditCardInfo) GetMaskedCreditCardNumber() (v string)

func (*CreditCardInfo) InitDefault

func (p *CreditCardInfo) InitDefault()

func (*CreditCardInfo) SetCreditCardCvv

func (p *CreditCardInfo) SetCreditCardCvv(val int64)

func (*CreditCardInfo) SetCreditCardExpirationMonth

func (p *CreditCardInfo) SetCreditCardExpirationMonth(val int64)

func (*CreditCardInfo) SetCreditCardExpirationYear

func (p *CreditCardInfo) SetCreditCardExpirationYear(val int64)

func (*CreditCardInfo) SetMaskedCreditCardNumber

func (p *CreditCardInfo) SetMaskedCreditCardNumber(val string)

func (*CreditCardInfo) String

func (p *CreditCardInfo) String() string

type LoginData

type LoginData struct {
	UserId int64 `thrift:"userId,1" frugal:"1,default,i64" json:"userId"`
}

func NewLoginData

func NewLoginData() *LoginData

func (*LoginData) BLength

func (p *LoginData) BLength() int

func (*LoginData) DeepEqual

func (p *LoginData) DeepEqual(ano *LoginData) bool

func (*LoginData) FastRead

func (p *LoginData) FastRead(buf []byte) (int, error)

func (*LoginData) FastReadField1

func (p *LoginData) FastReadField1(buf []byte) (int, error)

func (*LoginData) FastWrite

func (p *LoginData) FastWrite(buf []byte) int

func (*LoginData) FastWriteNocopy

func (p *LoginData) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*LoginData) Field1DeepEqual

func (p *LoginData) Field1DeepEqual(src int64) bool

func (*LoginData) GetUserId

func (p *LoginData) GetUserId() (v int64)

func (*LoginData) InitDefault

func (p *LoginData) InitDefault()

func (*LoginData) SetUserId

func (p *LoginData) SetUserId(val int64)

func (*LoginData) String

func (p *LoginData) String() string

type Order

type Order struct {
	Id                    int64   `thrift:"id,1,required" frugal:"1,required,i64" json:"id"`
	Status                string  `thrift:"status,2,required" frugal:"2,required,string" json:"status"`
	Uid                   int64   `thrift:"uid,3,required" frugal:"3,required,i64" json:"uid"`
	TotalAmountOfGoods    float64 `thrift:"totalAmountOfGoods,4,required" frugal:"4,required,double" json:"totalAmountOfGoods"`
	TotalAmountOfFreight  float64 `thrift:"totalAmountOfFreight,5,required" frugal:"5,required,double" json:"totalAmountOfFreight"`
	TotalAmountOfDiscount float64 `thrift:"totalAmountOfDiscount,6,required" frugal:"6,required,double" json:"totalAmountOfDiscount"`
	PaymentAmount         float64 `thrift:"paymentAmount,7,required" frugal:"7,required,double" json:"paymentAmount"`
	PaymentStatus         string  `thrift:"paymentStatus,8,required" frugal:"8,required,string" json:"paymentStatus"`
	PaymentAt             int64   `thrift:"paymentAt,9,required" frugal:"9,required,i64" json:"paymentAt"`
	PaymentStyle          string  `thrift:"paymentStyle,10,required" frugal:"10,required,string" json:"paymentStyle"`
	OrderedAt             int64   `thrift:"orderedAt,11,required" frugal:"11,required,i64" json:"orderedAt"`
	DeletedAt             int64   `thrift:"deletedAt,12,required" frugal:"12,required,i64" json:"deletedAt"`
	DeliveryAt            int64   `thrift:"deliveryAt,13,required" frugal:"13,required,i64" json:"deliveryAt"`
	AddressID             int64   `thrift:"addressID,14,required" frugal:"14,required,i64" json:"addressID"`
	AddressInfo           string  `thrift:"addressInfo,15,required" frugal:"15,required,string" json:"addressInfo"`
}
var OrderWithGoods_Order_DEFAULT *Order

func NewOrder

func NewOrder() *Order

func (*Order) BLength

func (p *Order) BLength() int

func (*Order) DeepEqual

func (p *Order) DeepEqual(ano *Order) bool

func (*Order) FastRead

func (p *Order) FastRead(buf []byte) (int, error)

func (*Order) FastReadField1

func (p *Order) FastReadField1(buf []byte) (int, error)

func (*Order) FastReadField10

func (p *Order) FastReadField10(buf []byte) (int, error)

func (*Order) FastReadField11

func (p *Order) FastReadField11(buf []byte) (int, error)

func (*Order) FastReadField12

func (p *Order) FastReadField12(buf []byte) (int, error)

func (*Order) FastReadField13

func (p *Order) FastReadField13(buf []byte) (int, error)

func (*Order) FastReadField14

func (p *Order) FastReadField14(buf []byte) (int, error)

func (*Order) FastReadField15

func (p *Order) FastReadField15(buf []byte) (int, error)

func (*Order) FastReadField2

func (p *Order) FastReadField2(buf []byte) (int, error)

func (*Order) FastReadField3

func (p *Order) FastReadField3(buf []byte) (int, error)

func (*Order) FastReadField4

func (p *Order) FastReadField4(buf []byte) (int, error)

func (*Order) FastReadField5

func (p *Order) FastReadField5(buf []byte) (int, error)

func (*Order) FastReadField6

func (p *Order) FastReadField6(buf []byte) (int, error)

func (*Order) FastReadField7

func (p *Order) FastReadField7(buf []byte) (int, error)

func (*Order) FastReadField8

func (p *Order) FastReadField8(buf []byte) (int, error)

func (*Order) FastReadField9

func (p *Order) FastReadField9(buf []byte) (int, error)

func (*Order) FastWrite

func (p *Order) FastWrite(buf []byte) int

func (*Order) FastWriteNocopy

func (p *Order) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*Order) Field10DeepEqual

func (p *Order) Field10DeepEqual(src string) bool

func (*Order) Field11DeepEqual

func (p *Order) Field11DeepEqual(src int64) bool

func (*Order) Field12DeepEqual

func (p *Order) Field12DeepEqual(src int64) bool

func (*Order) Field13DeepEqual

func (p *Order) Field13DeepEqual(src int64) bool

func (*Order) Field14DeepEqual

func (p *Order) Field14DeepEqual(src int64) bool

func (*Order) Field15DeepEqual

func (p *Order) Field15DeepEqual(src string) bool

func (*Order) Field1DeepEqual

func (p *Order) Field1DeepEqual(src int64) bool

func (*Order) Field2DeepEqual

func (p *Order) Field2DeepEqual(src string) bool

func (*Order) Field3DeepEqual

func (p *Order) Field3DeepEqual(src int64) bool

func (*Order) Field4DeepEqual

func (p *Order) Field4DeepEqual(src float64) bool

func (*Order) Field5DeepEqual

func (p *Order) Field5DeepEqual(src float64) bool

func (*Order) Field6DeepEqual

func (p *Order) Field6DeepEqual(src float64) bool

func (*Order) Field7DeepEqual

func (p *Order) Field7DeepEqual(src float64) bool

func (*Order) Field8DeepEqual

func (p *Order) Field8DeepEqual(src string) bool

func (*Order) Field9DeepEqual

func (p *Order) Field9DeepEqual(src int64) bool

func (*Order) GetAddressID

func (p *Order) GetAddressID() (v int64)

func (*Order) GetAddressInfo

func (p *Order) GetAddressInfo() (v string)

func (*Order) GetDeletedAt

func (p *Order) GetDeletedAt() (v int64)

func (*Order) GetDeliveryAt

func (p *Order) GetDeliveryAt() (v int64)

func (*Order) GetId

func (p *Order) GetId() (v int64)

func (*Order) GetOrderedAt

func (p *Order) GetOrderedAt() (v int64)

func (*Order) GetPaymentAmount

func (p *Order) GetPaymentAmount() (v float64)

func (*Order) GetPaymentAt

func (p *Order) GetPaymentAt() (v int64)

func (*Order) GetPaymentStatus

func (p *Order) GetPaymentStatus() (v string)

func (*Order) GetPaymentStyle

func (p *Order) GetPaymentStyle() (v string)

func (*Order) GetStatus

func (p *Order) GetStatus() (v string)

func (*Order) GetTotalAmountOfDiscount

func (p *Order) GetTotalAmountOfDiscount() (v float64)

func (*Order) GetTotalAmountOfFreight

func (p *Order) GetTotalAmountOfFreight() (v float64)

func (*Order) GetTotalAmountOfGoods

func (p *Order) GetTotalAmountOfGoods() (v float64)

func (*Order) GetUid

func (p *Order) GetUid() (v int64)

func (*Order) InitDefault

func (p *Order) InitDefault()

func (*Order) SetAddressID

func (p *Order) SetAddressID(val int64)

func (*Order) SetAddressInfo

func (p *Order) SetAddressInfo(val string)

func (*Order) SetDeletedAt

func (p *Order) SetDeletedAt(val int64)

func (*Order) SetDeliveryAt

func (p *Order) SetDeliveryAt(val int64)

func (*Order) SetId

func (p *Order) SetId(val int64)

func (*Order) SetOrderedAt

func (p *Order) SetOrderedAt(val int64)

func (*Order) SetPaymentAmount

func (p *Order) SetPaymentAmount(val float64)

func (*Order) SetPaymentAt

func (p *Order) SetPaymentAt(val int64)

func (*Order) SetPaymentStatus

func (p *Order) SetPaymentStatus(val string)

func (*Order) SetPaymentStyle

func (p *Order) SetPaymentStyle(val string)

func (*Order) SetStatus

func (p *Order) SetStatus(val string)

func (*Order) SetTotalAmountOfDiscount

func (p *Order) SetTotalAmountOfDiscount(val float64)

func (*Order) SetTotalAmountOfFreight

func (p *Order) SetTotalAmountOfFreight(val float64)

func (*Order) SetTotalAmountOfGoods

func (p *Order) SetTotalAmountOfGoods(val float64)

func (*Order) SetUid

func (p *Order) SetUid(val int64)

func (*Order) String

func (p *Order) String() string

type OrderGoods

type OrderGoods struct {
	MerchantID       int64   `thrift:"merchantID,1,required" frugal:"1,required,i64" json:"merchantID"`
	GoodsID          int64   `thrift:"goodsID,2,required" frugal:"2,required,i64" json:"goodsID"`
	GoodsName        string  `thrift:"goodsName,3,required" frugal:"3,required,string" json:"goodsName"`
	GoodsHeadDrawing string  `thrift:"goodsHeadDrawing,4,required" frugal:"4,required,string" json:"goodsHeadDrawing"`
	StyleID          int64   `thrift:"styleID,5,required" frugal:"5,required,i64" json:"styleID"`
	StyleName        string  `thrift:"styleName,6,required" frugal:"6,required,string" json:"styleName"`
	StyleHeadDrawing string  `thrift:"styleHeadDrawing,7,required" frugal:"7,required,string" json:"styleHeadDrawing"`
	OriginCast       float64 `thrift:"originCast,8,required" frugal:"8,required,double" json:"originCast"`
	SaleCast         float64 `thrift:"saleCast,9,required" frugal:"9,required,double" json:"saleCast"`
	PurchaseQuantity int64   `thrift:"purchaseQuantity,10,required" frugal:"10,required,i64" json:"purchaseQuantity"`
	PaymentAmount    float64 `thrift:"paymentAmount,11,required" frugal:"11,required,double" json:"paymentAmount"`
	FreightAmount    float64 `thrift:"freightAmount,12,required" frugal:"12,required,double" json:"freightAmount"`
	SettlementAmount float64 `thrift:"settlementAmount,13,required" frugal:"13,required,double" json:"settlementAmount"`
	DiscountAmount   float64 `thrift:"discountAmount,14,required" frugal:"14,required,double" json:"discountAmount"`
	SingleCast       float64 `thrift:"singleCast,15,required" frugal:"15,required,double" json:"singleCast"`
	CouponID         int64   `thrift:"couponID,16" frugal:"16,default,i64" json:"couponID"`
}

func NewOrderGoods

func NewOrderGoods() *OrderGoods

func (*OrderGoods) BLength

func (p *OrderGoods) BLength() int

func (*OrderGoods) DeepEqual

func (p *OrderGoods) DeepEqual(ano *OrderGoods) bool

func (*OrderGoods) FastRead

func (p *OrderGoods) FastRead(buf []byte) (int, error)

func (*OrderGoods) FastReadField1

func (p *OrderGoods) FastReadField1(buf []byte) (int, error)

func (*OrderGoods) FastReadField10

func (p *OrderGoods) FastReadField10(buf []byte) (int, error)

func (*OrderGoods) FastReadField11

func (p *OrderGoods) FastReadField11(buf []byte) (int, error)

func (*OrderGoods) FastReadField12

func (p *OrderGoods) FastReadField12(buf []byte) (int, error)

func (*OrderGoods) FastReadField13

func (p *OrderGoods) FastReadField13(buf []byte) (int, error)

func (*OrderGoods) FastReadField14

func (p *OrderGoods) FastReadField14(buf []byte) (int, error)

func (*OrderGoods) FastReadField15

func (p *OrderGoods) FastReadField15(buf []byte) (int, error)

func (*OrderGoods) FastReadField16

func (p *OrderGoods) FastReadField16(buf []byte) (int, error)

func (*OrderGoods) FastReadField2

func (p *OrderGoods) FastReadField2(buf []byte) (int, error)

func (*OrderGoods) FastReadField3

func (p *OrderGoods) FastReadField3(buf []byte) (int, error)

func (*OrderGoods) FastReadField4

func (p *OrderGoods) FastReadField4(buf []byte) (int, error)

func (*OrderGoods) FastReadField5

func (p *OrderGoods) FastReadField5(buf []byte) (int, error)

func (*OrderGoods) FastReadField6

func (p *OrderGoods) FastReadField6(buf []byte) (int, error)

func (*OrderGoods) FastReadField7

func (p *OrderGoods) FastReadField7(buf []byte) (int, error)

func (*OrderGoods) FastReadField8

func (p *OrderGoods) FastReadField8(buf []byte) (int, error)

func (*OrderGoods) FastReadField9

func (p *OrderGoods) FastReadField9(buf []byte) (int, error)

func (*OrderGoods) FastWrite

func (p *OrderGoods) FastWrite(buf []byte) int

func (*OrderGoods) FastWriteNocopy

func (p *OrderGoods) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*OrderGoods) Field10DeepEqual

func (p *OrderGoods) Field10DeepEqual(src int64) bool

func (*OrderGoods) Field11DeepEqual

func (p *OrderGoods) Field11DeepEqual(src float64) bool

func (*OrderGoods) Field12DeepEqual

func (p *OrderGoods) Field12DeepEqual(src float64) bool

func (*OrderGoods) Field13DeepEqual

func (p *OrderGoods) Field13DeepEqual(src float64) bool

func (*OrderGoods) Field14DeepEqual

func (p *OrderGoods) Field14DeepEqual(src float64) bool

func (*OrderGoods) Field15DeepEqual

func (p *OrderGoods) Field15DeepEqual(src float64) bool

func (*OrderGoods) Field16DeepEqual

func (p *OrderGoods) Field16DeepEqual(src int64) bool

func (*OrderGoods) Field1DeepEqual

func (p *OrderGoods) Field1DeepEqual(src int64) bool

func (*OrderGoods) Field2DeepEqual

func (p *OrderGoods) Field2DeepEqual(src int64) bool

func (*OrderGoods) Field3DeepEqual

func (p *OrderGoods) Field3DeepEqual(src string) bool

func (*OrderGoods) Field4DeepEqual

func (p *OrderGoods) Field4DeepEqual(src string) bool

func (*OrderGoods) Field5DeepEqual

func (p *OrderGoods) Field5DeepEqual(src int64) bool

func (*OrderGoods) Field6DeepEqual

func (p *OrderGoods) Field6DeepEqual(src string) bool

func (*OrderGoods) Field7DeepEqual

func (p *OrderGoods) Field7DeepEqual(src string) bool

func (*OrderGoods) Field8DeepEqual

func (p *OrderGoods) Field8DeepEqual(src float64) bool

func (*OrderGoods) Field9DeepEqual

func (p *OrderGoods) Field9DeepEqual(src float64) bool

func (*OrderGoods) GetCouponID

func (p *OrderGoods) GetCouponID() (v int64)

func (*OrderGoods) GetDiscountAmount

func (p *OrderGoods) GetDiscountAmount() (v float64)

func (*OrderGoods) GetFreightAmount

func (p *OrderGoods) GetFreightAmount() (v float64)

func (*OrderGoods) GetGoodsHeadDrawing

func (p *OrderGoods) GetGoodsHeadDrawing() (v string)

func (*OrderGoods) GetGoodsID

func (p *OrderGoods) GetGoodsID() (v int64)

func (*OrderGoods) GetGoodsName

func (p *OrderGoods) GetGoodsName() (v string)

func (*OrderGoods) GetMerchantID

func (p *OrderGoods) GetMerchantID() (v int64)

func (*OrderGoods) GetOriginCast

func (p *OrderGoods) GetOriginCast() (v float64)

func (*OrderGoods) GetPaymentAmount

func (p *OrderGoods) GetPaymentAmount() (v float64)

func (*OrderGoods) GetPurchaseQuantity

func (p *OrderGoods) GetPurchaseQuantity() (v int64)

func (*OrderGoods) GetSaleCast

func (p *OrderGoods) GetSaleCast() (v float64)

func (*OrderGoods) GetSettlementAmount

func (p *OrderGoods) GetSettlementAmount() (v float64)

func (*OrderGoods) GetSingleCast

func (p *OrderGoods) GetSingleCast() (v float64)

func (*OrderGoods) GetStyleHeadDrawing

func (p *OrderGoods) GetStyleHeadDrawing() (v string)

func (*OrderGoods) GetStyleID

func (p *OrderGoods) GetStyleID() (v int64)

func (*OrderGoods) GetStyleName

func (p *OrderGoods) GetStyleName() (v string)

func (*OrderGoods) InitDefault

func (p *OrderGoods) InitDefault()

func (*OrderGoods) SetCouponID

func (p *OrderGoods) SetCouponID(val int64)

func (*OrderGoods) SetDiscountAmount

func (p *OrderGoods) SetDiscountAmount(val float64)

func (*OrderGoods) SetFreightAmount

func (p *OrderGoods) SetFreightAmount(val float64)

func (*OrderGoods) SetGoodsHeadDrawing

func (p *OrderGoods) SetGoodsHeadDrawing(val string)

func (*OrderGoods) SetGoodsID

func (p *OrderGoods) SetGoodsID(val int64)

func (*OrderGoods) SetGoodsName

func (p *OrderGoods) SetGoodsName(val string)

func (*OrderGoods) SetMerchantID

func (p *OrderGoods) SetMerchantID(val int64)

func (*OrderGoods) SetOriginCast

func (p *OrderGoods) SetOriginCast(val float64)

func (*OrderGoods) SetPaymentAmount

func (p *OrderGoods) SetPaymentAmount(val float64)

func (*OrderGoods) SetPurchaseQuantity

func (p *OrderGoods) SetPurchaseQuantity(val int64)

func (*OrderGoods) SetSaleCast

func (p *OrderGoods) SetSaleCast(val float64)

func (*OrderGoods) SetSettlementAmount

func (p *OrderGoods) SetSettlementAmount(val float64)

func (*OrderGoods) SetSingleCast

func (p *OrderGoods) SetSingleCast(val float64)

func (*OrderGoods) SetStyleHeadDrawing

func (p *OrderGoods) SetStyleHeadDrawing(val string)

func (*OrderGoods) SetStyleID

func (p *OrderGoods) SetStyleID(val int64)

func (*OrderGoods) SetStyleName

func (p *OrderGoods) SetStyleName(val string)

func (*OrderGoods) String

func (p *OrderGoods) String() string

type OrderWithGoods

type OrderWithGoods struct {
	Order *Order        `thrift:"order,1,required" frugal:"1,required,Order" json:"order"`
	Goods []*OrderGoods `thrift:"goods,2,required" frugal:"2,required,list<OrderGoods>" json:"goods"`
}

func NewOrderWithGoods

func NewOrderWithGoods() *OrderWithGoods

func (*OrderWithGoods) BLength

func (p *OrderWithGoods) BLength() int

func (*OrderWithGoods) DeepEqual

func (p *OrderWithGoods) DeepEqual(ano *OrderWithGoods) bool

func (*OrderWithGoods) FastRead

func (p *OrderWithGoods) FastRead(buf []byte) (int, error)

func (*OrderWithGoods) FastReadField1

func (p *OrderWithGoods) FastReadField1(buf []byte) (int, error)

func (*OrderWithGoods) FastReadField2

func (p *OrderWithGoods) FastReadField2(buf []byte) (int, error)

func (*OrderWithGoods) FastWrite

func (p *OrderWithGoods) FastWrite(buf []byte) int

func (*OrderWithGoods) FastWriteNocopy

func (p *OrderWithGoods) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*OrderWithGoods) Field1DeepEqual

func (p *OrderWithGoods) Field1DeepEqual(src *Order) bool

func (*OrderWithGoods) Field2DeepEqual

func (p *OrderWithGoods) Field2DeepEqual(src []*OrderGoods) bool

func (*OrderWithGoods) GetGoods

func (p *OrderWithGoods) GetGoods() (v []*OrderGoods)

func (*OrderWithGoods) GetOrder

func (p *OrderWithGoods) GetOrder() (v *Order)

func (*OrderWithGoods) InitDefault

func (p *OrderWithGoods) InitDefault()

func (*OrderWithGoods) IsSetOrder

func (p *OrderWithGoods) IsSetOrder() bool

func (*OrderWithGoods) SetGoods

func (p *OrderWithGoods) SetGoods(val []*OrderGoods)

func (*OrderWithGoods) SetOrder

func (p *OrderWithGoods) SetOrder(val *Order)

func (*OrderWithGoods) String

func (p *OrderWithGoods) String() string

type PaymentTokenInfo

type PaymentTokenInfo struct {
	PaymentToken               string `thrift:"paymentToken,1,required" frugal:"1,required,string" json:"paymentToken"`
	PaymentTokenExpirationTime int64  `thrift:"paymentTokenExpirationTime,2,required" frugal:"2,required,i64" json:"paymentTokenExpirationTime"`
}

func NewPaymentTokenInfo

func NewPaymentTokenInfo() *PaymentTokenInfo

func (*PaymentTokenInfo) BLength

func (p *PaymentTokenInfo) BLength() int

func (*PaymentTokenInfo) DeepEqual

func (p *PaymentTokenInfo) DeepEqual(ano *PaymentTokenInfo) bool

func (*PaymentTokenInfo) FastRead

func (p *PaymentTokenInfo) FastRead(buf []byte) (int, error)

func (*PaymentTokenInfo) FastReadField1

func (p *PaymentTokenInfo) FastReadField1(buf []byte) (int, error)

func (*PaymentTokenInfo) FastReadField2

func (p *PaymentTokenInfo) FastReadField2(buf []byte) (int, error)

func (*PaymentTokenInfo) FastWrite

func (p *PaymentTokenInfo) FastWrite(buf []byte) int

func (*PaymentTokenInfo) FastWriteNocopy

func (p *PaymentTokenInfo) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*PaymentTokenInfo) Field1DeepEqual

func (p *PaymentTokenInfo) Field1DeepEqual(src string) bool

func (*PaymentTokenInfo) Field2DeepEqual

func (p *PaymentTokenInfo) Field2DeepEqual(src int64) bool

func (*PaymentTokenInfo) GetPaymentToken

func (p *PaymentTokenInfo) GetPaymentToken() (v string)

func (*PaymentTokenInfo) GetPaymentTokenExpirationTime

func (p *PaymentTokenInfo) GetPaymentTokenExpirationTime() (v int64)

func (*PaymentTokenInfo) InitDefault

func (p *PaymentTokenInfo) InitDefault()

func (*PaymentTokenInfo) SetPaymentToken

func (p *PaymentTokenInfo) SetPaymentToken(val string)

func (*PaymentTokenInfo) SetPaymentTokenExpirationTime

func (p *PaymentTokenInfo) SetPaymentTokenExpirationTime(val int64)

func (*PaymentTokenInfo) String

func (p *PaymentTokenInfo) String() string

type PriceHistory

type PriceHistory struct {
	HistoryID   int64  `thrift:"historyID,1,required" frugal:"1,required,i64" json:"historyID"`
	SkuID       int64  `thrift:"skuID,2,required" frugal:"2,required,i64" json:"skuID"`
	Price       int64  `thrift:"price,3,required" frugal:"3,required,i64" json:"price"`
	CreatedAt   int64  `thrift:"createdAt,4,required" frugal:"4,required,i64" json:"createdAt"`
	PrevVersion *int64 `thrift:"prevVersion,5,optional" frugal:"5,optional,i64" json:"prevVersion,omitempty"`
}

func NewPriceHistory

func NewPriceHistory() *PriceHistory

func (*PriceHistory) BLength

func (p *PriceHistory) BLength() int

func (*PriceHistory) DeepEqual

func (p *PriceHistory) DeepEqual(ano *PriceHistory) bool

func (*PriceHistory) FastRead

func (p *PriceHistory) FastRead(buf []byte) (int, error)

func (*PriceHistory) FastReadField1

func (p *PriceHistory) FastReadField1(buf []byte) (int, error)

func (*PriceHistory) FastReadField2

func (p *PriceHistory) FastReadField2(buf []byte) (int, error)

func (*PriceHistory) FastReadField3

func (p *PriceHistory) FastReadField3(buf []byte) (int, error)

func (*PriceHistory) FastReadField4

func (p *PriceHistory) FastReadField4(buf []byte) (int, error)

func (*PriceHistory) FastReadField5

func (p *PriceHistory) FastReadField5(buf []byte) (int, error)

func (*PriceHistory) FastWrite

func (p *PriceHistory) FastWrite(buf []byte) int

func (*PriceHistory) FastWriteNocopy

func (p *PriceHistory) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*PriceHistory) Field1DeepEqual

func (p *PriceHistory) Field1DeepEqual(src int64) bool

func (*PriceHistory) Field2DeepEqual

func (p *PriceHistory) Field2DeepEqual(src int64) bool

func (*PriceHistory) Field3DeepEqual

func (p *PriceHistory) Field3DeepEqual(src int64) bool

func (*PriceHistory) Field4DeepEqual

func (p *PriceHistory) Field4DeepEqual(src int64) bool

func (*PriceHistory) Field5DeepEqual

func (p *PriceHistory) Field5DeepEqual(src *int64) bool

func (*PriceHistory) GetCreatedAt

func (p *PriceHistory) GetCreatedAt() (v int64)

func (*PriceHistory) GetHistoryID

func (p *PriceHistory) GetHistoryID() (v int64)

func (*PriceHistory) GetPrevVersion

func (p *PriceHistory) GetPrevVersion() (v int64)

func (*PriceHistory) GetPrice

func (p *PriceHistory) GetPrice() (v int64)

func (*PriceHistory) GetSkuID

func (p *PriceHistory) GetSkuID() (v int64)

func (*PriceHistory) InitDefault

func (p *PriceHistory) InitDefault()

func (*PriceHistory) IsSetPrevVersion

func (p *PriceHistory) IsSetPrevVersion() bool

func (*PriceHistory) SetCreatedAt

func (p *PriceHistory) SetCreatedAt(val int64)

func (*PriceHistory) SetHistoryID

func (p *PriceHistory) SetHistoryID(val int64)

func (*PriceHistory) SetPrevVersion

func (p *PriceHistory) SetPrevVersion(val *int64)

func (*PriceHistory) SetPrice

func (p *PriceHistory) SetPrice(val int64)

func (*PriceHistory) SetSkuID

func (p *PriceHistory) SetSkuID(val int64)

func (*PriceHistory) String

func (p *PriceHistory) String() string

type Sku

type Sku struct {
	SkuID            int64        `thrift:"skuID,1,required" frugal:"1,required,i64" json:"skuID"`
	CreatorID        int64        `thrift:"creatorID,2,required" frugal:"2,required,i64" json:"creatorID"`
	Price            float64      `thrift:"price,3,required" frugal:"3,required,double" json:"price"`
	Name             string       `thrift:"name,4,required" frugal:"4,required,string" json:"name"`
	Description      string       `thrift:"description,5,required" frugal:"5,required,string" json:"description"`
	ForSale          int32        `thrift:"forSale,6,required" frugal:"6,required,i32" json:"forSale"`
	Stock            int64        `thrift:"stock,7,required" frugal:"7,required,i64" json:"stock"`
	StyleHeadDrawing string       `thrift:"styleHeadDrawing,8,required" frugal:"8,required,string" json:"styleHeadDrawing"`
	CreatedAt        int64        `thrift:"createdAt,9,required" frugal:"9,required,i64" json:"createdAt"`
	UpdatedAt        int64        `thrift:"updatedAt,10,required" frugal:"10,required,i64" json:"updatedAt"`
	DeletedAt        *int64       `thrift:"deletedAt,11,optional" frugal:"11,optional,i64" json:"deletedAt,omitempty"`
	SpuID            int64        `thrift:"spuID,12,required" frugal:"12,required,i64" json:"spuID"`
	SaleAttr         []*AttrValue `thrift:"saleAttr,13,optional" frugal:"13,optional,list<AttrValue>" json:"saleAttr,omitempty"`
	HistoryID        int64        `thrift:"historyID,14,required" frugal:"14,required,i64" json:"historyID"`
	LockStock        int64        `thrift:"lockStock,15,required" frugal:"15,required,i64" json:"lockStock"`
}

func NewSku

func NewSku() *Sku

func (*Sku) BLength

func (p *Sku) BLength() int

func (*Sku) DeepEqual

func (p *Sku) DeepEqual(ano *Sku) bool

func (*Sku) FastRead

func (p *Sku) FastRead(buf []byte) (int, error)

func (*Sku) FastReadField1

func (p *Sku) FastReadField1(buf []byte) (int, error)

func (*Sku) FastReadField10

func (p *Sku) FastReadField10(buf []byte) (int, error)

func (*Sku) FastReadField11

func (p *Sku) FastReadField11(buf []byte) (int, error)

func (*Sku) FastReadField12

func (p *Sku) FastReadField12(buf []byte) (int, error)

func (*Sku) FastReadField13

func (p *Sku) FastReadField13(buf []byte) (int, error)

func (*Sku) FastReadField14

func (p *Sku) FastReadField14(buf []byte) (int, error)

func (*Sku) FastReadField15

func (p *Sku) FastReadField15(buf []byte) (int, error)

func (*Sku) FastReadField2

func (p *Sku) FastReadField2(buf []byte) (int, error)

func (*Sku) FastReadField3

func (p *Sku) FastReadField3(buf []byte) (int, error)

func (*Sku) FastReadField4

func (p *Sku) FastReadField4(buf []byte) (int, error)

func (*Sku) FastReadField5

func (p *Sku) FastReadField5(buf []byte) (int, error)

func (*Sku) FastReadField6

func (p *Sku) FastReadField6(buf []byte) (int, error)

func (*Sku) FastReadField7

func (p *Sku) FastReadField7(buf []byte) (int, error)

func (*Sku) FastReadField8

func (p *Sku) FastReadField8(buf []byte) (int, error)

func (*Sku) FastReadField9

func (p *Sku) FastReadField9(buf []byte) (int, error)

func (*Sku) FastWrite

func (p *Sku) FastWrite(buf []byte) int

func (*Sku) FastWriteNocopy

func (p *Sku) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*Sku) Field10DeepEqual

func (p *Sku) Field10DeepEqual(src int64) bool

func (*Sku) Field11DeepEqual

func (p *Sku) Field11DeepEqual(src *int64) bool

func (*Sku) Field12DeepEqual

func (p *Sku) Field12DeepEqual(src int64) bool

func (*Sku) Field13DeepEqual

func (p *Sku) Field13DeepEqual(src []*AttrValue) bool

func (*Sku) Field14DeepEqual

func (p *Sku) Field14DeepEqual(src int64) bool

func (*Sku) Field15DeepEqual

func (p *Sku) Field15DeepEqual(src int64) bool

func (*Sku) Field1DeepEqual

func (p *Sku) Field1DeepEqual(src int64) bool

func (*Sku) Field2DeepEqual

func (p *Sku) Field2DeepEqual(src int64) bool

func (*Sku) Field3DeepEqual

func (p *Sku) Field3DeepEqual(src float64) bool

func (*Sku) Field4DeepEqual

func (p *Sku) Field4DeepEqual(src string) bool

func (*Sku) Field5DeepEqual

func (p *Sku) Field5DeepEqual(src string) bool

func (*Sku) Field6DeepEqual

func (p *Sku) Field6DeepEqual(src int32) bool

func (*Sku) Field7DeepEqual

func (p *Sku) Field7DeepEqual(src int64) bool

func (*Sku) Field8DeepEqual

func (p *Sku) Field8DeepEqual(src string) bool

func (*Sku) Field9DeepEqual

func (p *Sku) Field9DeepEqual(src int64) bool

func (*Sku) GetCreatedAt

func (p *Sku) GetCreatedAt() (v int64)

func (*Sku) GetCreatorID

func (p *Sku) GetCreatorID() (v int64)

func (*Sku) GetDeletedAt

func (p *Sku) GetDeletedAt() (v int64)

func (*Sku) GetDescription

func (p *Sku) GetDescription() (v string)

func (*Sku) GetForSale

func (p *Sku) GetForSale() (v int32)

func (*Sku) GetHistoryID

func (p *Sku) GetHistoryID() (v int64)

func (*Sku) GetLockStock

func (p *Sku) GetLockStock() (v int64)

func (*Sku) GetName

func (p *Sku) GetName() (v string)

func (*Sku) GetPrice

func (p *Sku) GetPrice() (v float64)

func (*Sku) GetSaleAttr

func (p *Sku) GetSaleAttr() (v []*AttrValue)

func (*Sku) GetSkuID

func (p *Sku) GetSkuID() (v int64)

func (*Sku) GetSpuID

func (p *Sku) GetSpuID() (v int64)

func (*Sku) GetStock

func (p *Sku) GetStock() (v int64)

func (*Sku) GetStyleHeadDrawing

func (p *Sku) GetStyleHeadDrawing() (v string)

func (*Sku) GetUpdatedAt

func (p *Sku) GetUpdatedAt() (v int64)

func (*Sku) InitDefault

func (p *Sku) InitDefault()

func (*Sku) IsSetDeletedAt

func (p *Sku) IsSetDeletedAt() bool

func (*Sku) IsSetSaleAttr

func (p *Sku) IsSetSaleAttr() bool

func (*Sku) SetCreatedAt

func (p *Sku) SetCreatedAt(val int64)

func (*Sku) SetCreatorID

func (p *Sku) SetCreatorID(val int64)

func (*Sku) SetDeletedAt

func (p *Sku) SetDeletedAt(val *int64)

func (*Sku) SetDescription

func (p *Sku) SetDescription(val string)

func (*Sku) SetForSale

func (p *Sku) SetForSale(val int32)

func (*Sku) SetHistoryID

func (p *Sku) SetHistoryID(val int64)

func (*Sku) SetLockStock

func (p *Sku) SetLockStock(val int64)

func (*Sku) SetName

func (p *Sku) SetName(val string)

func (*Sku) SetPrice

func (p *Sku) SetPrice(val float64)

func (*Sku) SetSaleAttr

func (p *Sku) SetSaleAttr(val []*AttrValue)

func (*Sku) SetSkuID

func (p *Sku) SetSkuID(val int64)

func (*Sku) SetSpuID

func (p *Sku) SetSpuID(val int64)

func (*Sku) SetStock

func (p *Sku) SetStock(val int64)

func (*Sku) SetStyleHeadDrawing

func (p *Sku) SetStyleHeadDrawing(val string)

func (*Sku) SetUpdatedAt

func (p *Sku) SetUpdatedAt(val int64)

func (*Sku) String

func (p *Sku) String() string

type SkuImage

type SkuImage struct {
	ImageID   int64  `thrift:"imageID,1,required" frugal:"1,required,i64" json:"imageID"`
	SkuID     int64  `thrift:"skuID,2,required" frugal:"2,required,i64" json:"skuID"`
	Url       string `thrift:"url,3,required" frugal:"3,required,string" json:"url"`
	CreatedAt int64  `thrift:"createdAt,4,required" frugal:"4,required,i64" json:"createdAt"`
	DeletedAt *int64 `thrift:"deletedAt,5,optional" frugal:"5,optional,i64" json:"deletedAt,omitempty"`
}

func NewSkuImage

func NewSkuImage() *SkuImage

func (*SkuImage) BLength

func (p *SkuImage) BLength() int

func (*SkuImage) DeepEqual

func (p *SkuImage) DeepEqual(ano *SkuImage) bool

func (*SkuImage) FastRead

func (p *SkuImage) FastRead(buf []byte) (int, error)

func (*SkuImage) FastReadField1

func (p *SkuImage) FastReadField1(buf []byte) (int, error)

func (*SkuImage) FastReadField2

func (p *SkuImage) FastReadField2(buf []byte) (int, error)

func (*SkuImage) FastReadField3

func (p *SkuImage) FastReadField3(buf []byte) (int, error)

func (*SkuImage) FastReadField4

func (p *SkuImage) FastReadField4(buf []byte) (int, error)

func (*SkuImage) FastReadField5

func (p *SkuImage) FastReadField5(buf []byte) (int, error)

func (*SkuImage) FastWrite

func (p *SkuImage) FastWrite(buf []byte) int

func (*SkuImage) FastWriteNocopy

func (p *SkuImage) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*SkuImage) Field1DeepEqual

func (p *SkuImage) Field1DeepEqual(src int64) bool

func (*SkuImage) Field2DeepEqual

func (p *SkuImage) Field2DeepEqual(src int64) bool

func (*SkuImage) Field3DeepEqual

func (p *SkuImage) Field3DeepEqual(src string) bool

func (*SkuImage) Field4DeepEqual

func (p *SkuImage) Field4DeepEqual(src int64) bool

func (*SkuImage) Field5DeepEqual

func (p *SkuImage) Field5DeepEqual(src *int64) bool

func (*SkuImage) GetCreatedAt

func (p *SkuImage) GetCreatedAt() (v int64)

func (*SkuImage) GetDeletedAt

func (p *SkuImage) GetDeletedAt() (v int64)

func (*SkuImage) GetImageID

func (p *SkuImage) GetImageID() (v int64)

func (*SkuImage) GetSkuID

func (p *SkuImage) GetSkuID() (v int64)

func (*SkuImage) GetUrl

func (p *SkuImage) GetUrl() (v string)

func (*SkuImage) InitDefault

func (p *SkuImage) InitDefault()

func (*SkuImage) IsSetDeletedAt

func (p *SkuImage) IsSetDeletedAt() bool

func (*SkuImage) SetCreatedAt

func (p *SkuImage) SetCreatedAt(val int64)

func (*SkuImage) SetDeletedAt

func (p *SkuImage) SetDeletedAt(val *int64)

func (*SkuImage) SetImageID

func (p *SkuImage) SetImageID(val int64)

func (*SkuImage) SetSkuID

func (p *SkuImage) SetSkuID(val int64)

func (*SkuImage) SetUrl

func (p *SkuImage) SetUrl(val string)

func (*SkuImage) String

func (p *SkuImage) String() string

type SkuInfo

type SkuInfo struct {
	SkuID            int64   `thrift:"skuID,1,required" frugal:"1,required,i64" json:"skuID"`
	CreatorID        int64   `thrift:"creatorID,2,required" frugal:"2,required,i64" json:"creatorID"`
	Price            float64 `thrift:"price,3,required" frugal:"3,required,double" json:"price"`
	Name             string  `thrift:"name,4,required" frugal:"4,required,string" json:"name"`
	ForSale          int32   `thrift:"forSale,5,required" frugal:"5,required,i32" json:"forSale"`
	LockStock        int64   `thrift:"lockStock,6,required" frugal:"6,required,i64" json:"lockStock"`
	StyleHeadDrawing string  `thrift:"styleHeadDrawing,7,required" frugal:"7,required,string" json:"styleHeadDrawing"`
	SpuID            int64   `thrift:"spuID,8,required" frugal:"8,required,i64" json:"spuID"`
	HistoryID        int64   `thrift:"historyID,9,required" frugal:"9,required,i64" json:"historyID"`
}

func NewSkuInfo

func NewSkuInfo() *SkuInfo

func (*SkuInfo) BLength

func (p *SkuInfo) BLength() int

func (*SkuInfo) DeepEqual

func (p *SkuInfo) DeepEqual(ano *SkuInfo) bool

func (*SkuInfo) FastRead

func (p *SkuInfo) FastRead(buf []byte) (int, error)

func (*SkuInfo) FastReadField1

func (p *SkuInfo) FastReadField1(buf []byte) (int, error)

func (*SkuInfo) FastReadField2

func (p *SkuInfo) FastReadField2(buf []byte) (int, error)

func (*SkuInfo) FastReadField3

func (p *SkuInfo) FastReadField3(buf []byte) (int, error)

func (*SkuInfo) FastReadField4

func (p *SkuInfo) FastReadField4(buf []byte) (int, error)

func (*SkuInfo) FastReadField5

func (p *SkuInfo) FastReadField5(buf []byte) (int, error)

func (*SkuInfo) FastReadField6

func (p *SkuInfo) FastReadField6(buf []byte) (int, error)

func (*SkuInfo) FastReadField7

func (p *SkuInfo) FastReadField7(buf []byte) (int, error)

func (*SkuInfo) FastReadField8

func (p *SkuInfo) FastReadField8(buf []byte) (int, error)

func (*SkuInfo) FastReadField9

func (p *SkuInfo) FastReadField9(buf []byte) (int, error)

func (*SkuInfo) FastWrite

func (p *SkuInfo) FastWrite(buf []byte) int

func (*SkuInfo) FastWriteNocopy

func (p *SkuInfo) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*SkuInfo) Field1DeepEqual

func (p *SkuInfo) Field1DeepEqual(src int64) bool

func (*SkuInfo) Field2DeepEqual

func (p *SkuInfo) Field2DeepEqual(src int64) bool

func (*SkuInfo) Field3DeepEqual

func (p *SkuInfo) Field3DeepEqual(src float64) bool

func (*SkuInfo) Field4DeepEqual

func (p *SkuInfo) Field4DeepEqual(src string) bool

func (*SkuInfo) Field5DeepEqual

func (p *SkuInfo) Field5DeepEqual(src int32) bool

func (*SkuInfo) Field6DeepEqual

func (p *SkuInfo) Field6DeepEqual(src int64) bool

func (*SkuInfo) Field7DeepEqual

func (p *SkuInfo) Field7DeepEqual(src string) bool

func (*SkuInfo) Field8DeepEqual

func (p *SkuInfo) Field8DeepEqual(src int64) bool

func (*SkuInfo) Field9DeepEqual

func (p *SkuInfo) Field9DeepEqual(src int64) bool

func (*SkuInfo) GetCreatorID

func (p *SkuInfo) GetCreatorID() (v int64)

func (*SkuInfo) GetForSale

func (p *SkuInfo) GetForSale() (v int32)

func (*SkuInfo) GetHistoryID

func (p *SkuInfo) GetHistoryID() (v int64)

func (*SkuInfo) GetLockStock

func (p *SkuInfo) GetLockStock() (v int64)

func (*SkuInfo) GetName

func (p *SkuInfo) GetName() (v string)

func (*SkuInfo) GetPrice

func (p *SkuInfo) GetPrice() (v float64)

func (*SkuInfo) GetSkuID

func (p *SkuInfo) GetSkuID() (v int64)

func (*SkuInfo) GetSpuID

func (p *SkuInfo) GetSpuID() (v int64)

func (*SkuInfo) GetStyleHeadDrawing

func (p *SkuInfo) GetStyleHeadDrawing() (v string)

func (*SkuInfo) InitDefault

func (p *SkuInfo) InitDefault()

func (*SkuInfo) SetCreatorID

func (p *SkuInfo) SetCreatorID(val int64)

func (*SkuInfo) SetForSale

func (p *SkuInfo) SetForSale(val int32)

func (*SkuInfo) SetHistoryID

func (p *SkuInfo) SetHistoryID(val int64)

func (*SkuInfo) SetLockStock

func (p *SkuInfo) SetLockStock(val int64)

func (*SkuInfo) SetName

func (p *SkuInfo) SetName(val string)

func (*SkuInfo) SetPrice

func (p *SkuInfo) SetPrice(val float64)

func (*SkuInfo) SetSkuID

func (p *SkuInfo) SetSkuID(val int64)

func (*SkuInfo) SetSpuID

func (p *SkuInfo) SetSpuID(val int64)

func (*SkuInfo) SetStyleHeadDrawing

func (p *SkuInfo) SetStyleHeadDrawing(val string)

func (*SkuInfo) String

func (p *SkuInfo) String() string

type Spu

type Spu struct {
	SpuID            int64   `thrift:"spuID,1,required" frugal:"1,required,i64" json:"spuID"`
	Name             string  `thrift:"name,2,required" frugal:"2,required,string" json:"name"`
	CreatorID        int64   `thrift:"creatorID,3,required" frugal:"3,required,i64" json:"creatorID"`
	Description      string  `thrift:"description,4,required" frugal:"4,required,string" json:"description"`
	CategoryID       int64   `thrift:"categoryID,5,required" frugal:"5,required,i64" json:"categoryID"`
	GoodsHeadDrawing string  `thrift:"goodsHeadDrawing,6,required" frugal:"6,required,string" json:"goodsHeadDrawing"`
	Price            float64 `thrift:"price,7,required" frugal:"7,required,double" json:"price"`
	ForSale          int32   `thrift:"forSale,8,required" frugal:"8,required,i32" json:"forSale"`
	Shipping         float64 `thrift:"shipping,9,required" frugal:"9,required,double" json:"shipping"`
	CreatedAt        int64   `thrift:"createdAt,10,required" frugal:"10,required,i64" json:"createdAt"`
	UpdatedAt        int64   `thrift:"updatedAt,11,required" frugal:"11,required,i64" json:"updatedAt"`
	DeletedAt        *int64  `thrift:"deletedAt,12,optional" frugal:"12,optional,i64" json:"deletedAt,omitempty"`
}

func NewSpu

func NewSpu() *Spu

func (*Spu) BLength

func (p *Spu) BLength() int

func (*Spu) DeepEqual

func (p *Spu) DeepEqual(ano *Spu) bool

func (*Spu) FastRead

func (p *Spu) FastRead(buf []byte) (int, error)

func (*Spu) FastReadField1

func (p *Spu) FastReadField1(buf []byte) (int, error)

func (*Spu) FastReadField10

func (p *Spu) FastReadField10(buf []byte) (int, error)

func (*Spu) FastReadField11

func (p *Spu) FastReadField11(buf []byte) (int, error)

func (*Spu) FastReadField12

func (p *Spu) FastReadField12(buf []byte) (int, error)

func (*Spu) FastReadField2

func (p *Spu) FastReadField2(buf []byte) (int, error)

func (*Spu) FastReadField3

func (p *Spu) FastReadField3(buf []byte) (int, error)

func (*Spu) FastReadField4

func (p *Spu) FastReadField4(buf []byte) (int, error)

func (*Spu) FastReadField5

func (p *Spu) FastReadField5(buf []byte) (int, error)

func (*Spu) FastReadField6

func (p *Spu) FastReadField6(buf []byte) (int, error)

func (*Spu) FastReadField7

func (p *Spu) FastReadField7(buf []byte) (int, error)

func (*Spu) FastReadField8

func (p *Spu) FastReadField8(buf []byte) (int, error)

func (*Spu) FastReadField9

func (p *Spu) FastReadField9(buf []byte) (int, error)

func (*Spu) FastWrite

func (p *Spu) FastWrite(buf []byte) int

func (*Spu) FastWriteNocopy

func (p *Spu) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*Spu) Field10DeepEqual

func (p *Spu) Field10DeepEqual(src int64) bool

func (*Spu) Field11DeepEqual

func (p *Spu) Field11DeepEqual(src int64) bool

func (*Spu) Field12DeepEqual

func (p *Spu) Field12DeepEqual(src *int64) bool

func (*Spu) Field1DeepEqual

func (p *Spu) Field1DeepEqual(src int64) bool

func (*Spu) Field2DeepEqual

func (p *Spu) Field2DeepEqual(src string) bool

func (*Spu) Field3DeepEqual

func (p *Spu) Field3DeepEqual(src int64) bool

func (*Spu) Field4DeepEqual

func (p *Spu) Field4DeepEqual(src string) bool

func (*Spu) Field5DeepEqual

func (p *Spu) Field5DeepEqual(src int64) bool

func (*Spu) Field6DeepEqual

func (p *Spu) Field6DeepEqual(src string) bool

func (*Spu) Field7DeepEqual

func (p *Spu) Field7DeepEqual(src float64) bool

func (*Spu) Field8DeepEqual

func (p *Spu) Field8DeepEqual(src int32) bool

func (*Spu) Field9DeepEqual

func (p *Spu) Field9DeepEqual(src float64) bool

func (*Spu) GetCategoryID

func (p *Spu) GetCategoryID() (v int64)

func (*Spu) GetCreatedAt

func (p *Spu) GetCreatedAt() (v int64)

func (*Spu) GetCreatorID

func (p *Spu) GetCreatorID() (v int64)

func (*Spu) GetDeletedAt

func (p *Spu) GetDeletedAt() (v int64)

func (*Spu) GetDescription

func (p *Spu) GetDescription() (v string)

func (*Spu) GetForSale

func (p *Spu) GetForSale() (v int32)

func (*Spu) GetGoodsHeadDrawing

func (p *Spu) GetGoodsHeadDrawing() (v string)

func (*Spu) GetName

func (p *Spu) GetName() (v string)

func (*Spu) GetPrice

func (p *Spu) GetPrice() (v float64)

func (*Spu) GetShipping

func (p *Spu) GetShipping() (v float64)

func (*Spu) GetSpuID

func (p *Spu) GetSpuID() (v int64)

func (*Spu) GetUpdatedAt

func (p *Spu) GetUpdatedAt() (v int64)

func (*Spu) InitDefault

func (p *Spu) InitDefault()

func (*Spu) IsSetDeletedAt

func (p *Spu) IsSetDeletedAt() bool

func (*Spu) SetCategoryID

func (p *Spu) SetCategoryID(val int64)

func (*Spu) SetCreatedAt

func (p *Spu) SetCreatedAt(val int64)

func (*Spu) SetCreatorID

func (p *Spu) SetCreatorID(val int64)

func (*Spu) SetDeletedAt

func (p *Spu) SetDeletedAt(val *int64)

func (*Spu) SetDescription

func (p *Spu) SetDescription(val string)

func (*Spu) SetForSale

func (p *Spu) SetForSale(val int32)

func (*Spu) SetGoodsHeadDrawing

func (p *Spu) SetGoodsHeadDrawing(val string)

func (*Spu) SetName

func (p *Spu) SetName(val string)

func (*Spu) SetPrice

func (p *Spu) SetPrice(val float64)

func (*Spu) SetShipping

func (p *Spu) SetShipping(val float64)

func (*Spu) SetSpuID

func (p *Spu) SetSpuID(val int64)

func (*Spu) SetUpdatedAt

func (p *Spu) SetUpdatedAt(val int64)

func (*Spu) String

func (p *Spu) String() string

type SpuImage

type SpuImage struct {
	ImageID   int64  `thrift:"imageID,1,required" frugal:"1,required,i64" json:"imageID"`
	SpuID     int64  `thrift:"spuID,2,required" frugal:"2,required,i64" json:"spuID"`
	Url       string `thrift:"url,3,required" frugal:"3,required,string" json:"url"`
	CreatedAt int64  `thrift:"createdAt,4,required" frugal:"4,required,i64" json:"createdAt"`
	DeletedAt *int64 `thrift:"deletedAt,5,optional" frugal:"5,optional,i64" json:"deletedAt,omitempty"`
}

func NewSpuImage

func NewSpuImage() *SpuImage

func (*SpuImage) BLength

func (p *SpuImage) BLength() int

func (*SpuImage) DeepEqual

func (p *SpuImage) DeepEqual(ano *SpuImage) bool

func (*SpuImage) FastRead

func (p *SpuImage) FastRead(buf []byte) (int, error)

func (*SpuImage) FastReadField1

func (p *SpuImage) FastReadField1(buf []byte) (int, error)

func (*SpuImage) FastReadField2

func (p *SpuImage) FastReadField2(buf []byte) (int, error)

func (*SpuImage) FastReadField3

func (p *SpuImage) FastReadField3(buf []byte) (int, error)

func (*SpuImage) FastReadField4

func (p *SpuImage) FastReadField4(buf []byte) (int, error)

func (*SpuImage) FastReadField5

func (p *SpuImage) FastReadField5(buf []byte) (int, error)

func (*SpuImage) FastWrite

func (p *SpuImage) FastWrite(buf []byte) int

func (*SpuImage) FastWriteNocopy

func (p *SpuImage) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*SpuImage) Field1DeepEqual

func (p *SpuImage) Field1DeepEqual(src int64) bool

func (*SpuImage) Field2DeepEqual

func (p *SpuImage) Field2DeepEqual(src int64) bool

func (*SpuImage) Field3DeepEqual

func (p *SpuImage) Field3DeepEqual(src string) bool

func (*SpuImage) Field4DeepEqual

func (p *SpuImage) Field4DeepEqual(src int64) bool

func (*SpuImage) Field5DeepEqual

func (p *SpuImage) Field5DeepEqual(src *int64) bool

func (*SpuImage) GetCreatedAt

func (p *SpuImage) GetCreatedAt() (v int64)

func (*SpuImage) GetDeletedAt

func (p *SpuImage) GetDeletedAt() (v int64)

func (*SpuImage) GetImageID

func (p *SpuImage) GetImageID() (v int64)

func (*SpuImage) GetSpuID

func (p *SpuImage) GetSpuID() (v int64)

func (*SpuImage) GetUrl

func (p *SpuImage) GetUrl() (v string)

func (*SpuImage) InitDefault

func (p *SpuImage) InitDefault()

func (*SpuImage) IsSetDeletedAt

func (p *SpuImage) IsSetDeletedAt() bool

func (*SpuImage) SetCreatedAt

func (p *SpuImage) SetCreatedAt(val int64)

func (*SpuImage) SetDeletedAt

func (p *SpuImage) SetDeletedAt(val *int64)

func (*SpuImage) SetImageID

func (p *SpuImage) SetImageID(val int64)

func (*SpuImage) SetSpuID

func (p *SpuImage) SetSpuID(val int64)

func (*SpuImage) SetUrl

func (p *SpuImage) SetUrl(val string)

func (*SpuImage) String

func (p *SpuImage) String() string

type UserCoupon

type UserCoupon struct {
	CouponID           int64    `thrift:"couponID,1,required" frugal:"1,required,i64" json:"couponID"`
	CreatorID          int64    `thrift:"creatorID,2,required" frugal:"2,required,i64" json:"creatorID"`
	UserID             int64    `thrift:"userID,3,required" frugal:"3,required,i64" json:"userID"`
	Name               string   `thrift:"name,4,required" frugal:"4,required,string" json:"name"`
	TypeInfo           int32    `thrift:"typeInfo,5,required" frugal:"5,required,i32" json:"typeInfo"`
	ConditionCost      int64    `thrift:"conditionCost,6,required" frugal:"6,required,i64" json:"conditionCost"`
	DiscountAmount     *float64 `thrift:"discountAmount,7,optional" frugal:"7,optional,double" json:"discountAmount,omitempty"`
	Discount           *float64 `thrift:"discount,8,optional" frugal:"8,optional,double" json:"discount,omitempty"`
	RangeType          int64    `thrift:"rangeType,9,required" frugal:"9,required,i64" json:"rangeType"`
	RangeId            int64    `thrift:"rangeId,10,required" frugal:"10,required,i64" json:"rangeId"`
	ExpireAt           int64    `thrift:"expireAt,11,required" frugal:"11,required,i64" json:"expireAt"`
	Description        string   `thrift:"description,12,required" frugal:"12,required,string" json:"description"`
	RemainUserUseCount int64    `thrift:"remainUserUseCount,13,required" frugal:"13,required,i64" json:"remainUserUseCount"`
	CreatedAt          int64    `thrift:"createdAt,14,required" frugal:"14,required,i64" json:"createdAt"`
}

func NewUserCoupon

func NewUserCoupon() *UserCoupon

func (*UserCoupon) BLength

func (p *UserCoupon) BLength() int

func (*UserCoupon) DeepEqual

func (p *UserCoupon) DeepEqual(ano *UserCoupon) bool

func (*UserCoupon) FastRead

func (p *UserCoupon) FastRead(buf []byte) (int, error)

func (*UserCoupon) FastReadField1

func (p *UserCoupon) FastReadField1(buf []byte) (int, error)

func (*UserCoupon) FastReadField10

func (p *UserCoupon) FastReadField10(buf []byte) (int, error)

func (*UserCoupon) FastReadField11

func (p *UserCoupon) FastReadField11(buf []byte) (int, error)

func (*UserCoupon) FastReadField12

func (p *UserCoupon) FastReadField12(buf []byte) (int, error)

func (*UserCoupon) FastReadField13

func (p *UserCoupon) FastReadField13(buf []byte) (int, error)

func (*UserCoupon) FastReadField14

func (p *UserCoupon) FastReadField14(buf []byte) (int, error)

func (*UserCoupon) FastReadField2

func (p *UserCoupon) FastReadField2(buf []byte) (int, error)

func (*UserCoupon) FastReadField3

func (p *UserCoupon) FastReadField3(buf []byte) (int, error)

func (*UserCoupon) FastReadField4

func (p *UserCoupon) FastReadField4(buf []byte) (int, error)

func (*UserCoupon) FastReadField5

func (p *UserCoupon) FastReadField5(buf []byte) (int, error)

func (*UserCoupon) FastReadField6

func (p *UserCoupon) FastReadField6(buf []byte) (int, error)

func (*UserCoupon) FastReadField7

func (p *UserCoupon) FastReadField7(buf []byte) (int, error)

func (*UserCoupon) FastReadField8

func (p *UserCoupon) FastReadField8(buf []byte) (int, error)

func (*UserCoupon) FastReadField9

func (p *UserCoupon) FastReadField9(buf []byte) (int, error)

func (*UserCoupon) FastWrite

func (p *UserCoupon) FastWrite(buf []byte) int

func (*UserCoupon) FastWriteNocopy

func (p *UserCoupon) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*UserCoupon) Field10DeepEqual

func (p *UserCoupon) Field10DeepEqual(src int64) bool

func (*UserCoupon) Field11DeepEqual

func (p *UserCoupon) Field11DeepEqual(src int64) bool

func (*UserCoupon) Field12DeepEqual

func (p *UserCoupon) Field12DeepEqual(src string) bool

func (*UserCoupon) Field13DeepEqual

func (p *UserCoupon) Field13DeepEqual(src int64) bool

func (*UserCoupon) Field14DeepEqual

func (p *UserCoupon) Field14DeepEqual(src int64) bool

func (*UserCoupon) Field1DeepEqual

func (p *UserCoupon) Field1DeepEqual(src int64) bool

func (*UserCoupon) Field2DeepEqual

func (p *UserCoupon) Field2DeepEqual(src int64) bool

func (*UserCoupon) Field3DeepEqual

func (p *UserCoupon) Field3DeepEqual(src int64) bool

func (*UserCoupon) Field4DeepEqual

func (p *UserCoupon) Field4DeepEqual(src string) bool

func (*UserCoupon) Field5DeepEqual

func (p *UserCoupon) Field5DeepEqual(src int32) bool

func (*UserCoupon) Field6DeepEqual

func (p *UserCoupon) Field6DeepEqual(src int64) bool

func (*UserCoupon) Field7DeepEqual

func (p *UserCoupon) Field7DeepEqual(src *float64) bool

func (*UserCoupon) Field8DeepEqual

func (p *UserCoupon) Field8DeepEqual(src *float64) bool

func (*UserCoupon) Field9DeepEqual

func (p *UserCoupon) Field9DeepEqual(src int64) bool

func (*UserCoupon) GetConditionCost

func (p *UserCoupon) GetConditionCost() (v int64)

func (*UserCoupon) GetCouponID

func (p *UserCoupon) GetCouponID() (v int64)

func (*UserCoupon) GetCreatedAt

func (p *UserCoupon) GetCreatedAt() (v int64)

func (*UserCoupon) GetCreatorID

func (p *UserCoupon) GetCreatorID() (v int64)

func (*UserCoupon) GetDescription

func (p *UserCoupon) GetDescription() (v string)

func (*UserCoupon) GetDiscount

func (p *UserCoupon) GetDiscount() (v float64)

func (*UserCoupon) GetDiscountAmount

func (p *UserCoupon) GetDiscountAmount() (v float64)

func (*UserCoupon) GetExpireAt

func (p *UserCoupon) GetExpireAt() (v int64)

func (*UserCoupon) GetName

func (p *UserCoupon) GetName() (v string)

func (*UserCoupon) GetRangeId

func (p *UserCoupon) GetRangeId() (v int64)

func (*UserCoupon) GetRangeType

func (p *UserCoupon) GetRangeType() (v int64)

func (*UserCoupon) GetRemainUserUseCount

func (p *UserCoupon) GetRemainUserUseCount() (v int64)

func (*UserCoupon) GetTypeInfo

func (p *UserCoupon) GetTypeInfo() (v int32)

func (*UserCoupon) GetUserID

func (p *UserCoupon) GetUserID() (v int64)

func (*UserCoupon) InitDefault

func (p *UserCoupon) InitDefault()

func (*UserCoupon) IsSetDiscount

func (p *UserCoupon) IsSetDiscount() bool

func (*UserCoupon) IsSetDiscountAmount

func (p *UserCoupon) IsSetDiscountAmount() bool

func (*UserCoupon) SetConditionCost

func (p *UserCoupon) SetConditionCost(val int64)

func (*UserCoupon) SetCouponID

func (p *UserCoupon) SetCouponID(val int64)

func (*UserCoupon) SetCreatedAt

func (p *UserCoupon) SetCreatedAt(val int64)

func (*UserCoupon) SetCreatorID

func (p *UserCoupon) SetCreatorID(val int64)

func (*UserCoupon) SetDescription

func (p *UserCoupon) SetDescription(val string)

func (*UserCoupon) SetDiscount

func (p *UserCoupon) SetDiscount(val *float64)

func (*UserCoupon) SetDiscountAmount

func (p *UserCoupon) SetDiscountAmount(val *float64)

func (*UserCoupon) SetExpireAt

func (p *UserCoupon) SetExpireAt(val int64)

func (*UserCoupon) SetName

func (p *UserCoupon) SetName(val string)

func (*UserCoupon) SetRangeId

func (p *UserCoupon) SetRangeId(val int64)

func (*UserCoupon) SetRangeType

func (p *UserCoupon) SetRangeType(val int64)

func (*UserCoupon) SetRemainUserUseCount

func (p *UserCoupon) SetRemainUserUseCount(val int64)

func (*UserCoupon) SetTypeInfo

func (p *UserCoupon) SetTypeInfo(val int32)

func (*UserCoupon) SetUserID

func (p *UserCoupon) SetUserID(val int64)

func (*UserCoupon) String

func (p *UserCoupon) String() string

type UserInfo

type UserInfo struct {
	UserId int64  `thrift:"userId,1" frugal:"1,default,i64" json:"userId"`
	Name   string `thrift:"name,2" frugal:"2,default,string" json:"name"`
}

func NewUserInfo

func NewUserInfo() *UserInfo

func (*UserInfo) BLength

func (p *UserInfo) BLength() int

func (*UserInfo) DeepEqual

func (p *UserInfo) DeepEqual(ano *UserInfo) bool

func (*UserInfo) FastRead

func (p *UserInfo) FastRead(buf []byte) (int, error)

func (*UserInfo) FastReadField1

func (p *UserInfo) FastReadField1(buf []byte) (int, error)

func (*UserInfo) FastReadField2

func (p *UserInfo) FastReadField2(buf []byte) (int, error)

func (*UserInfo) FastWrite

func (p *UserInfo) FastWrite(buf []byte) int

func (*UserInfo) FastWriteNocopy

func (p *UserInfo) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*UserInfo) Field1DeepEqual

func (p *UserInfo) Field1DeepEqual(src int64) bool

func (*UserInfo) Field2DeepEqual

func (p *UserInfo) Field2DeepEqual(src string) bool

func (*UserInfo) GetName

func (p *UserInfo) GetName() (v string)

func (*UserInfo) GetUserId

func (p *UserInfo) GetUserId() (v int64)

func (*UserInfo) InitDefault

func (p *UserInfo) InitDefault()

func (*UserInfo) SetName

func (p *UserInfo) SetName(val string)

func (*UserInfo) SetUserId

func (p *UserInfo) SetUserId(val int64)

func (*UserInfo) String

func (p *UserInfo) String() string

Jump to

Keyboard shortcuts

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