product

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProductAdminItem

type ProductAdminItem struct {
	Uuid         string                   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"`
	Code         string                   `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
	Name         map[string]string        `` /* 139-byte string literal not displayed */
	Description  map[string]string        `` /* 153-byte string literal not displayed */
	SortOrder    int64                    `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"order"`
	CategoryUuid string                   `protobuf:"bytes,6,opt,name=category_uuid,json=categoryUuid,proto3" json:"category_uuid"`
	Items        []*ProductAdminItem_Item `protobuf:"bytes,7,rep,name=items,proto3" json:"items"`
	Images       map[string]string        `` /* 143-byte string literal not displayed */
	IsActive     bool                     `protobuf:"varint,9,opt,name=is_active,json=isActive,proto3" json:"is_active"`
	CreatedAt    string                   `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
	UpdatedAt    string                   `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at"`
	DeletedAt    string                   `protobuf:"bytes,12,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at"`
}

func (*ProductAdminItem) Descriptor

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

func (*ProductAdminItem) GetCategoryUuid

func (m *ProductAdminItem) GetCategoryUuid() string

func (*ProductAdminItem) GetCode

func (m *ProductAdminItem) GetCode() string

func (*ProductAdminItem) GetCreatedAt

func (m *ProductAdminItem) GetCreatedAt() string

func (*ProductAdminItem) GetDeletedAt

func (m *ProductAdminItem) GetDeletedAt() string

func (*ProductAdminItem) GetDescription

func (m *ProductAdminItem) GetDescription() map[string]string

func (*ProductAdminItem) GetImages

func (m *ProductAdminItem) GetImages() map[string]string

func (*ProductAdminItem) GetIsActive

func (m *ProductAdminItem) GetIsActive() bool

func (*ProductAdminItem) GetItems

func (m *ProductAdminItem) GetItems() []*ProductAdminItem_Item

func (*ProductAdminItem) GetName

func (m *ProductAdminItem) GetName() map[string]string

func (*ProductAdminItem) GetSortOrder

func (m *ProductAdminItem) GetSortOrder() int64

func (*ProductAdminItem) GetUpdatedAt

func (m *ProductAdminItem) GetUpdatedAt() string

func (*ProductAdminItem) GetUuid

func (m *ProductAdminItem) GetUuid() string

func (*ProductAdminItem) ProtoMessage

func (*ProductAdminItem) ProtoMessage()

func (*ProductAdminItem) Reset

func (m *ProductAdminItem) Reset()

func (*ProductAdminItem) String

func (m *ProductAdminItem) String() string

func (*ProductAdminItem) Validate

func (m *ProductAdminItem) Validate() error

Validate checks the field values on ProductAdminItem with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProductAdminItem) XXX_DiscardUnknown

func (m *ProductAdminItem) XXX_DiscardUnknown()

func (*ProductAdminItem) XXX_Marshal

func (m *ProductAdminItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProductAdminItem) XXX_Merge

func (m *ProductAdminItem) XXX_Merge(src proto.Message)

func (*ProductAdminItem) XXX_Size

func (m *ProductAdminItem) XXX_Size() int

func (*ProductAdminItem) XXX_Unmarshal

func (m *ProductAdminItem) XXX_Unmarshal(b []byte) error

type ProductAdminItemValidationError

type ProductAdminItemValidationError struct {
	// contains filtered or unexported fields
}

ProductAdminItemValidationError is the validation error returned by ProductAdminItem.Validate if the designated constraints aren't met.

func (ProductAdminItemValidationError) Cause

Cause function returns cause value.

func (ProductAdminItemValidationError) Error

Error satisfies the builtin error interface

func (ProductAdminItemValidationError) ErrorName

ErrorName returns error name.

func (ProductAdminItemValidationError) Field

Field function returns field value.

func (ProductAdminItemValidationError) Key

Key function returns key value.

func (ProductAdminItemValidationError) Reason

Reason function returns reason value.

type ProductAdminItem_Item

type ProductAdminItem_Item struct {
	Name      map[string]string `` /* 139-byte string literal not displayed */
	Uuid      string            `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid"`
	Price     float64           `protobuf:"fixed64,3,opt,name=price,proto3" json:"price"`
	Foreign   string            `protobuf:"bytes,4,opt,name=foreign,proto3" json:"foreign"`
	SortOrder int64             `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order"`
}

func (*ProductAdminItem_Item) Descriptor

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

func (*ProductAdminItem_Item) GetForeign

func (m *ProductAdminItem_Item) GetForeign() string

func (*ProductAdminItem_Item) GetName

func (m *ProductAdminItem_Item) GetName() map[string]string

func (*ProductAdminItem_Item) GetPrice

func (m *ProductAdminItem_Item) GetPrice() float64

func (*ProductAdminItem_Item) GetSortOrder

func (m *ProductAdminItem_Item) GetSortOrder() int64

func (*ProductAdminItem_Item) GetUuid

func (m *ProductAdminItem_Item) GetUuid() string

func (*ProductAdminItem_Item) ProtoMessage

func (*ProductAdminItem_Item) ProtoMessage()

func (*ProductAdminItem_Item) Reset

func (m *ProductAdminItem_Item) Reset()

func (*ProductAdminItem_Item) String

func (m *ProductAdminItem_Item) String() string

func (*ProductAdminItem_Item) Validate

func (m *ProductAdminItem_Item) Validate() error

Validate checks the field values on ProductAdminItem_Item with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProductAdminItem_Item) XXX_DiscardUnknown

func (m *ProductAdminItem_Item) XXX_DiscardUnknown()

func (*ProductAdminItem_Item) XXX_Marshal

func (m *ProductAdminItem_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProductAdminItem_Item) XXX_Merge

func (m *ProductAdminItem_Item) XXX_Merge(src proto.Message)

func (*ProductAdminItem_Item) XXX_Size

func (m *ProductAdminItem_Item) XXX_Size() int

func (*ProductAdminItem_Item) XXX_Unmarshal

func (m *ProductAdminItem_Item) XXX_Unmarshal(b []byte) error

type ProductAdminItem_ItemValidationError

type ProductAdminItem_ItemValidationError struct {
	// contains filtered or unexported fields
}

ProductAdminItem_ItemValidationError is the validation error returned by ProductAdminItem_Item.Validate if the designated constraints aren't met.

func (ProductAdminItem_ItemValidationError) Cause

Cause function returns cause value.

func (ProductAdminItem_ItemValidationError) Error

Error satisfies the builtin error interface

func (ProductAdminItem_ItemValidationError) ErrorName

ErrorName returns error name.

func (ProductAdminItem_ItemValidationError) Field

Field function returns field value.

func (ProductAdminItem_ItemValidationError) Key

Key function returns key value.

func (ProductAdminItem_ItemValidationError) Reason

Reason function returns reason value.

type ProductFrontItem

type ProductFrontItem struct {
	Uuid        string                     `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"`
	Code        string                     `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
	Name        string                     `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
	Description string                     `protobuf:"bytes,4,opt,name=description,proto3" json:"description"`
	SortOrder   int64                      `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"order"`
	Images      map[string]string          `` /* 143-byte string literal not displayed */
	Category    *ProductFrontItem_Category `protobuf:"bytes,7,opt,name=category,proto3" json:"category"`
	Items       []*ProductFrontItem_Item   `protobuf:"bytes,8,rep,name=items,proto3" json:"items"`
}

func (*ProductFrontItem) Descriptor

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

func (*ProductFrontItem) GetCategory

func (m *ProductFrontItem) GetCategory() *ProductFrontItem_Category

func (*ProductFrontItem) GetCode

func (m *ProductFrontItem) GetCode() string

func (*ProductFrontItem) GetDescription

func (m *ProductFrontItem) GetDescription() string

func (*ProductFrontItem) GetImages

func (m *ProductFrontItem) GetImages() map[string]string

func (*ProductFrontItem) GetItems

func (m *ProductFrontItem) GetItems() []*ProductFrontItem_Item

func (*ProductFrontItem) GetName

func (m *ProductFrontItem) GetName() string

func (*ProductFrontItem) GetSortOrder

func (m *ProductFrontItem) GetSortOrder() int64

func (*ProductFrontItem) GetUuid

func (m *ProductFrontItem) GetUuid() string

func (*ProductFrontItem) ProtoMessage

func (*ProductFrontItem) ProtoMessage()

func (*ProductFrontItem) Reset

func (m *ProductFrontItem) Reset()

func (*ProductFrontItem) String

func (m *ProductFrontItem) String() string

func (*ProductFrontItem) Validate

func (m *ProductFrontItem) Validate() error

Validate checks the field values on ProductFrontItem with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProductFrontItem) XXX_DiscardUnknown

func (m *ProductFrontItem) XXX_DiscardUnknown()

func (*ProductFrontItem) XXX_Marshal

func (m *ProductFrontItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProductFrontItem) XXX_Merge

func (m *ProductFrontItem) XXX_Merge(src proto.Message)

func (*ProductFrontItem) XXX_Size

func (m *ProductFrontItem) XXX_Size() int

func (*ProductFrontItem) XXX_Unmarshal

func (m *ProductFrontItem) XXX_Unmarshal(b []byte) error

type ProductFrontItemValidationError

type ProductFrontItemValidationError struct {
	// contains filtered or unexported fields
}

ProductFrontItemValidationError is the validation error returned by ProductFrontItem.Validate if the designated constraints aren't met.

func (ProductFrontItemValidationError) Cause

Cause function returns cause value.

func (ProductFrontItemValidationError) Error

Error satisfies the builtin error interface

func (ProductFrontItemValidationError) ErrorName

ErrorName returns error name.

func (ProductFrontItemValidationError) Field

Field function returns field value.

func (ProductFrontItemValidationError) Key

Key function returns key value.

func (ProductFrontItemValidationError) Reason

Reason function returns reason value.

type ProductFrontItem_Category

type ProductFrontItem_Category struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
}

func (*ProductFrontItem_Category) Descriptor

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

func (*ProductFrontItem_Category) GetName

func (m *ProductFrontItem_Category) GetName() string

func (*ProductFrontItem_Category) GetUuid

func (m *ProductFrontItem_Category) GetUuid() string

func (*ProductFrontItem_Category) ProtoMessage

func (*ProductFrontItem_Category) ProtoMessage()

func (*ProductFrontItem_Category) Reset

func (m *ProductFrontItem_Category) Reset()

func (*ProductFrontItem_Category) String

func (m *ProductFrontItem_Category) String() string

func (*ProductFrontItem_Category) Validate

func (m *ProductFrontItem_Category) Validate() error

Validate checks the field values on ProductFrontItem_Category with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProductFrontItem_Category) XXX_DiscardUnknown

func (m *ProductFrontItem_Category) XXX_DiscardUnknown()

func (*ProductFrontItem_Category) XXX_Marshal

func (m *ProductFrontItem_Category) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProductFrontItem_Category) XXX_Merge

func (m *ProductFrontItem_Category) XXX_Merge(src proto.Message)

func (*ProductFrontItem_Category) XXX_Size

func (m *ProductFrontItem_Category) XXX_Size() int

func (*ProductFrontItem_Category) XXX_Unmarshal

func (m *ProductFrontItem_Category) XXX_Unmarshal(b []byte) error

type ProductFrontItem_CategoryValidationError

type ProductFrontItem_CategoryValidationError struct {
	// contains filtered or unexported fields
}

ProductFrontItem_CategoryValidationError is the validation error returned by ProductFrontItem_Category.Validate if the designated constraints aren't met.

func (ProductFrontItem_CategoryValidationError) Cause

Cause function returns cause value.

func (ProductFrontItem_CategoryValidationError) Error

Error satisfies the builtin error interface

func (ProductFrontItem_CategoryValidationError) ErrorName

ErrorName returns error name.

func (ProductFrontItem_CategoryValidationError) Field

Field function returns field value.

func (ProductFrontItem_CategoryValidationError) Key

Key function returns key value.

func (ProductFrontItem_CategoryValidationError) Reason

Reason function returns reason value.

type ProductFrontItem_Item

type ProductFrontItem_Item struct {
	Name      string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
	Uuid      string  `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid"`
	Price     float64 `protobuf:"fixed64,3,opt,name=price,proto3" json:"price"`
	SortOrder int64   `protobuf:"varint,4,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order"`
}

func (*ProductFrontItem_Item) Descriptor

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

func (*ProductFrontItem_Item) GetName

func (m *ProductFrontItem_Item) GetName() string

func (*ProductFrontItem_Item) GetPrice

func (m *ProductFrontItem_Item) GetPrice() float64

func (*ProductFrontItem_Item) GetSortOrder

func (m *ProductFrontItem_Item) GetSortOrder() int64

func (*ProductFrontItem_Item) GetUuid

func (m *ProductFrontItem_Item) GetUuid() string

func (*ProductFrontItem_Item) ProtoMessage

func (*ProductFrontItem_Item) ProtoMessage()

func (*ProductFrontItem_Item) Reset

func (m *ProductFrontItem_Item) Reset()

func (*ProductFrontItem_Item) String

func (m *ProductFrontItem_Item) String() string

func (*ProductFrontItem_Item) Validate

func (m *ProductFrontItem_Item) Validate() error

Validate checks the field values on ProductFrontItem_Item with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProductFrontItem_Item) XXX_DiscardUnknown

func (m *ProductFrontItem_Item) XXX_DiscardUnknown()

func (*ProductFrontItem_Item) XXX_Marshal

func (m *ProductFrontItem_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProductFrontItem_Item) XXX_Merge

func (m *ProductFrontItem_Item) XXX_Merge(src proto.Message)

func (*ProductFrontItem_Item) XXX_Size

func (m *ProductFrontItem_Item) XXX_Size() int

func (*ProductFrontItem_Item) XXX_Unmarshal

func (m *ProductFrontItem_Item) XXX_Unmarshal(b []byte) error

type ProductFrontItem_ItemValidationError

type ProductFrontItem_ItemValidationError struct {
	// contains filtered or unexported fields
}

ProductFrontItem_ItemValidationError is the validation error returned by ProductFrontItem_Item.Validate if the designated constraints aren't met.

func (ProductFrontItem_ItemValidationError) Cause

Cause function returns cause value.

func (ProductFrontItem_ItemValidationError) Error

Error satisfies the builtin error interface

func (ProductFrontItem_ItemValidationError) ErrorName

ErrorName returns error name.

func (ProductFrontItem_ItemValidationError) Field

Field function returns field value.

func (ProductFrontItem_ItemValidationError) Key

Key function returns key value.

func (ProductFrontItem_ItemValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis
manager
rpc

Jump to

Keyboard shortcuts

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