repository

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AncestorDelete

type AncestorDelete struct {
	PrmUuid string `json:"prm_uuid"`
	PrmSoft bool   `json:"prm_soft"`
}

type AncestorInsert

type AncestorInsert struct {
	PrmUuid   string       `json:"prm_uuid"`
	PrmName   pgtype.JSONB `json:"prm_name"`
	PrmCode   string       `json:"prm_code"`
	PrmDesc   pgtype.JSONB `json:"prm_desc"`
	PrmOrder  int64        `json:"prm_order"`
	PrmImage  pgtype.JSONB `json:"prm_image"`
	PrmInfo   pgtype.JSONB `json:"prm_info"`
	PrmActive bool         `json:"prm_active"`
}

type AncestorManagerRepository

AncestorManagerRepository type

func NewAncestorManagerRepository

func NewAncestorManagerRepository() AncestorManagerRepository

NewAncestorRepository new

type AncestorRepository

AncestorRepository type

func NewAncestorRepository

func NewAncestorRepository() AncestorRepository

NewAncestorRepository new

type AncestorSelectAdminItem

type AncestorSelectAdminItem struct {
	PrmUuid string `json:"prm_uuid"`
}

type AncestorSelectAdminList

type AncestorSelectAdminList struct {
	PrmActive  pgtype.Bool `json:"prm_active"`
	PrmDeleted pgtype.Bool `json:"prm_deleted"`

	PrmSkip  int64
	PrmLimit int64
}

type AncestorSelectFrontItem

type AncestorSelectFrontItem struct {
	PrmUuid string `json:"prm_uuid"`
	PrmLcid string `json:"prm_lcid"`
}

type AncestorSelectFrontList

type AncestorSelectFrontList struct {
	PrmLcid string `json:"prm_lcid"`

	PrmSkip  int64
	PrmLimit int64
}

type AncestorUpdate

type AncestorUpdate struct {
	PrmUuid   string       `json:"prm_uuid"`
	PrmName   pgtype.JSONB `json:"prm_name"`
	PrmCode   string       `json:"prm_code"`
	PrmDesc   pgtype.JSONB `json:"prm_desc"`
	PrmOrder  int64        `json:"prm_order"`
	PrmImage  pgtype.JSONB `json:"prm_image"`
	PrmInfo   pgtype.JSONB `json:"prm_info"`
	PrmActive bool         `json:"prm_active"`
}

type AttributeDelete

type AttributeDelete struct {
	PrmUuid string `json:"prm_uuid"`
	PrmSoft bool   `json:"prm_soft"`
}

type AttributeInsert

type AttributeInsert struct {
	PrmUuid   string       `json:"prm_uuid"`
	PrmName   pgtype.JSONB `json:"prm_name"`
	PrmCode   string       `json:"prm_code"`
	PrmDesc   pgtype.JSONB `json:"prm_desc"`
	PrmOrder  int64        `json:"prm_order"`
	PrmImage  pgtype.JSONB `json:"prm_image"`
	PrmActive bool         `json:"prm_active"`
}

type AttributeManagerRepository

AttributeManagerRepository type

func NewAttributeManagerRepository

func NewAttributeManagerRepository() AttributeManagerRepository

NewAttributeRepository new

type AttributeRepository

AttributeRepository type

func NewAttributeRepository

func NewAttributeRepository() AttributeRepository

NewAttributeRepository new

type AttributeSelectAdminItem

type AttributeSelectAdminItem struct {
	PrmUuid string `json:"prm_uuid"`
}

type AttributeSelectAdminList

type AttributeSelectAdminList struct {
	PrmActive  pgtype.Bool `json:"prm_active"`
	PrmDeleted pgtype.Bool `json:"prm_deleted"`

	PrmSkip  int64
	PrmLimit int64
}

type AttributeSelectFrontItem

type AttributeSelectFrontItem struct {
	PrmUuid string `json:"prm_uuid"`
	PrmLcid string `json:"prm_lcid"`
}

type AttributeSelectFrontList

type AttributeSelectFrontList struct {
	PrmLcid string `json:"prm_lcid"`

	PrmSkip  int64
	PrmLimit int64
}

type AttributeUpdate

type AttributeUpdate struct {
	PrmUuid   string       `json:"prm_uuid"`
	PrmCode   string       `json:"prm_code"`
	PrmName   pgtype.JSONB `json:"prm_name"`
	PrmDesc   pgtype.JSONB `json:"prm_desc"`
	PrmOrder  int64        `json:"prm_order"`
	PrmImage  pgtype.JSONB `json:"prm_image"`
	PrmActive bool         `json:"prm_active"`
}

type BuyerDelete

type BuyerDelete struct {
	PrmUuid string `json:"prm_uuid"`
	PrmSoft bool   `json:"prm_soft"`
}

type BuyerInsert

type BuyerInsert struct {
	PrmUuid   string       `json:"prm_uuid"`
	PrmPhone  string       `json:"prm_phone"`
	PrmName   string       `json:"prm_name"`
	PrmEmail  pgtype.JSONB `json:"prm_email"`
	PrmDesc   pgtype.JSONB `json:"prm_desc"`
	PrmOrder  int64        `json:"prm_order"`
	PrmImage  pgtype.JSONB `json:"prm_image"`
	PrmActive bool         `json:"prm_active"`
}

type BuyerManagerRepository

BuyerManagerRepository type

func NewBuyerManagerRepository

func NewBuyerManagerRepository() BuyerManagerRepository

NewBuyerRepository new

type BuyerRepository

BuyerRepository type

func NewBuyerRepository

func NewBuyerRepository() BuyerRepository

NewBuyerRepository new

type BuyerSearchAdminItem

type BuyerSearchAdminItem struct {
	PrmPhone string `json:"prm_phone"`
	PrmEmail string `json:"prm_email"`
}

type BuyerSearchAdminPhone

type BuyerSearchAdminPhone struct {
	PrmPhone string `json:"prm_phone"`
}

type BuyerSelectAdminItem

type BuyerSelectAdminItem struct {
	PrmUuid string `json:"prm_uuid"`
}

type BuyerSelectAdminList

type BuyerSelectAdminList struct {
	PrmActive  pgtype.Bool `json:"prm_active"`
	PrmDeleted pgtype.Bool `json:"prm_deleted"`

	PrmSkip  int64
	PrmLimit int64
}

type BuyerSelectFrontItem

type BuyerSelectFrontItem struct {
	PrmUuid string `json:"prm_uuid"`
	PrmLcid string `json:"prm_lcid"`
}

type BuyerSelectFrontList

type BuyerSelectFrontList struct {
	PrmLcid string `json:"prm_lcid"`

	PrmSkip  int64
	PrmLimit int64
}

type BuyerUpdate

type BuyerUpdate struct {
	PrmUuid   string       `json:"prm_uuid"`
	PrmPhone  string       `json:"prm_phone"`
	PrmName   string       `json:"prm_name"`
	PrmEmail  pgtype.JSONB `json:"prm_email"`
	PrmDesc   pgtype.JSONB `json:"prm_desc"`
	PrmOrder  int64        `json:"prm_order"`
	PrmImage  pgtype.JSONB `json:"prm_image"`
	PrmActive bool         `json:"prm_active"`
}

type CategoryDelete

type CategoryDelete struct {
	PrmUuid string `json:"prm_uuid"`
	PrmSoft bool   `json:"prm_soft"`
}

type CategoryInsert

type CategoryInsert struct {
	PrmUuid     string       `json:"prm_uuid"`
	PrmName     pgtype.JSONB `json:"prm_name"`
	PrmAncestor string       `json:"prm_ancestor"`
	PrmCode     string       `json:"prm_code"`
	PrmDesc     pgtype.JSONB `json:"prm_desc"`
	PrmOrder    int64        `json:"prm_order"`
	PrmImage    pgtype.JSONB `json:"prm_image"`
	PrmActive   bool         `json:"prm_active"`
}

type CategoryManagerRepository

CategoryManagerRepository type

func NewCategoryManagerRepository

func NewCategoryManagerRepository() CategoryManagerRepository

NewCategoryRepository new

type CategoryRepository

CategoryRepository type

func NewCategoryRepository

func NewCategoryRepository() CategoryRepository

NewCategoryRepository new

type CategorySelectAdminItem

type CategorySelectAdminItem struct {
	PrmUuid string `json:"prm_uuid"`
}

type CategorySelectAdminList

type CategorySelectAdminList struct {
	PrmActive   pgtype.Bool `json:"prm_active"`
	PrmDeleted  pgtype.Bool `json:"prm_deleted"`
	PrmAncestor string      `json:"prm_ancestor"`

	PrmSkip  int64 `json:"prm_skip"`
	PrmLimit int64 `json:"prm_limit"`
}

type CategorySelectFrontItem

type CategorySelectFrontItem struct {
	PrmUuid string `json:"prm_uuid"`
	PrmLcid string `json:"prm_lcid"`
}

type CategorySelectFrontList

type CategorySelectFrontList struct {
	PrmLcid     string `json:"prm_lcid"`
	PrmAncestor string `json:"prm_ancestor"`

	PrmSkip  int64 `json:"prm_skip"`
	PrmLimit int64 `json:"prm_limit"`
}

type CategoryUpdate

type CategoryUpdate struct {
	PrmUuid     string       `json:"prm_uuid"`
	PrmName     pgtype.JSONB `json:"prm_name"`
	PrmAncestor string       `json:"prm_ancestor"`
	PrmCode     string       `json:"prm_code"`
	PrmDesc     pgtype.JSONB `json:"prm_desc"`
	PrmOrder    int64        `json:"prm_order"`
	PrmImage    pgtype.JSONB `json:"prm_image"`
	PrmActive   bool         `json:"prm_active"`
}

type ImportMenu

type ImportMenu struct {
	PrmCategory string `json:"prm_category"`
	PrmProduct  string `json:"prm_product"`
	PrmAncestor string `json:"prm_ancestor"`
}
type MenuRepository interface {
	ImportMenu(pdb *plugin_database_sqlx.Plugin, data *ImportMenu) error
}

MenuRepository type

func NewMenuRepository

func NewMenuRepository() MenuRepository

NewProductRepository new

type OrderDelete

type OrderDelete struct {
	PrmUuid string `json:"prm_uuid"`
	PrmSoft bool   `json:"prm_soft"`
}

type OrderInsert

type OrderInsert struct {
	PrmUuid     string       `json:"prm_uuid"`
	PrmBuyer    string       `json:"prm_buyer"`
	PrmAncestor string       `json:"prm_ancestor"`
	PrmStatus   int64        `json:"prm_status"`
	PrmPayment  int64        `json:"prm_payment"`
	PrmDelivery int64        `json:"prm_delivery"`
	PrmItems    pgtype.JSONB `json:"prm_items"`
	PrmAddress  pgtype.JSONB `json:"prm_address"`
	PrmExec     *time.Time   `json:"prm_exec"`
	PrmDesc     pgtype.JSONB `json:"prm_desc"`
	PrmOrder    int64        `json:"prm_order"`
}

type OrderRepository

OrderRepository type

func NewOrderRepository

func NewOrderRepository() OrderRepository

NewOrderRepository new

type OrderSelectAdminList

type OrderSelectAdminList struct {
	PrmBuyer    string      `json:"prm_buyer"`
	PrmAncestor string      `json:"prm_ancestor"`
	PrmStatus   int64       `json:"prm_status"`
	PrmPayment  int64       `json:"prm_payment"`
	PrmDelivery int64       `json:"prm_delivery"`
	PrmDeleted  pgtype.Bool `json:"prm_deleted"`

	PrmSkip  int64
	PrmLimit int64
}

type OrderSelectItem

type OrderSelectItem struct {
	PrmUuid string `json:"prm_uuid"`
}

type OrderSelectItemStat

type OrderSelectItemStat struct {
	PrmUuid string `json:"prm_uuid"`
}

type OrderUpdate

type OrderUpdate struct {
	PrmUuid     string       `json:"prm_uuid"`
	PrmBuyer    string       `json:"prm_buyer"`
	PrmAncestor string       `json:"prm_ancestor"`
	PrmStatus   int64        `json:"prm_status"`
	PrmPayment  int64        `json:"prm_payment"`
	PrmDelivery int64        `json:"prm_delivery"`
	PrmItems    pgtype.JSONB `json:"prm_items"`
	PrmAddress  pgtype.JSONB `json:"prm_address"`
	PrmExec     *time.Time   `json:"prm_exec"`
	PrmDesc     pgtype.JSONB `json:"prm_desc"`
	PrmOrder    int64        `json:"prm_order"`
}

type ProductDelete

type ProductDelete struct {
	PrmUuid string `json:"prm_uuid"`
	PrmSoft bool   `json:"prm_soft"`
}

type ProductInsert

type ProductInsert struct {
	PrmUuid     string       `json:"prm_uuid"`
	PrmName     pgtype.JSONB `json:"prm_name"`
	PrmCategory string       `json:"prm_category"`
	PrmItems    pgtype.JSONB `json:"prm_imtes"`
	PrmCode     string       `json:"prm_code"`
	PrmDesc     pgtype.JSONB `json:"prm_desc"`
	PrmOrder    int64        `json:"prm_order"`
	PrmImage    pgtype.JSONB `json:"prm_image"`
	PrmActive   bool         `json:"prm_active"`
}

type ProductManagerRepository

ProductManagerRepository type

func NewProductManagerRepository

func NewProductManagerRepository() ProductManagerRepository

NewProductRepository new

type ProductRepository

ProductRepository type

func NewProductRepository

func NewProductRepository() ProductRepository

NewProductRepository new

type ProductSelectAdminItem

type ProductSelectAdminItem struct {
	PrmUuid string `json:"prm_uuid"`
}

type ProductSelectAdminList

type ProductSelectAdminList struct {
	PrmActive   pgtype.Bool `json:"prm_active"`
	PrmDeleted  pgtype.Bool `json:"prm_deleted"`
	PrmCategory string      `json:"prm_category"`
	PrmAncestor string      `json:"prm_ancestor"`

	PrmSkip  int64
	PrmLimit int64
}

type ProductSelectFrontItem

type ProductSelectFrontItem struct {
	PrmUuid string `json:"prm_uuid"`
	PrmLcid string `json:"prm_lcid"`
}

type ProductSelectFrontList

type ProductSelectFrontList struct {
	PrmLcid     string `json:"prm_lcid"`
	PrmCategory string `json:"prm_category"`
	PrmAncestor string `json:"prm_ancestor"`

	PrmSkip  int64
	PrmLimit int64
}

type ProductUpdate

type ProductUpdate struct {
	PrmUuid     string       `json:"prm_uuid"`
	PrmName     pgtype.JSONB `json:"prm_name"`
	PrmCategory string       `json:"prm_category"`
	PrmItems    pgtype.JSONB `json:"prm_imtes"`
	PrmCode     string       `json:"prm_code"`
	PrmDesc     pgtype.JSONB `json:"prm_desc"`
	PrmOrder    int64        `json:"prm_order"`
	PrmImage    pgtype.JSONB `json:"prm_image"`
	PrmActive   bool         `json:"prm_active"`
}

Jump to

Keyboard shortcuts

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