repository

package
v0.6.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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExporterRepository

type ExporterRepository interface {
	Menu(pdb *plugin_database_sqlx.Plugin) (*model.ExportMenuResult, error)
	OrderStatus(pdb *plugin_database_sqlx.Plugin, data *OrderStatusParams) (*model.ExportOrderStatusResult, error)
	SelectDivision(pdb *plugin_database_sqlx.Plugin) ([]model.DivisionResult, error)
	SelectKeyData(pdb *plugin_database_sqlx.Plugin) ([]model.KeyDataResult, error)
}

ExporterRepository type

func NewExporterRepository

func NewExporterRepository() ExporterRepository

NewProductRepository new

type ImportOrder

type ImportOrder struct {
	PrmUuid       string        `json:"prm_uuid"`
	PrmDvsn       string        `json:"prm_dvsn"`
	PrmLogin      string        `json:"prm_login"`
	PrmSlrg       string        `json:"prm_slrg"`
	PrmDev        string        `json:"prm_dev"`
	PrmName       string        `json:"prm_name"`
	PrmItems      []OrderItems  `json:"prm_items"`
	PrmDate       string        `json:"prm_date"`
	PrmExec       string        `json:"prm_exec"`
	PrmAddress    *OrderAddress `json:"prm_address"`
	PrmDmt        int32         `json:"prm_dmt"`
	PrmVat        float64       `json:"prm_vat"`
	PrmClnt       interface{}   `json:"prm_clnt"`
	PrmGuestName  string        `json:"prm_guest_name"`
	PrmGuestPhone string        `json:"prm_guest_phone"`
	PrmGuestEmail string        `json:"prm_guest_email"`
}

type ImporterRepository

type ImporterRepository interface {
	Order(pdb *plugin_database_sqlx.Plugin, data *ImportOrder) error
	OrderConfirm(pdb *plugin_database_sqlx.Plugin, data *OrderConfirm) error
	OrderCancel(pdb *plugin_database_sqlx.Plugin, data *OrderCancel) error
}

ImporterRepository type

func NewImporterRepository

func NewImporterRepository() ImporterRepository

NewProductRepository new

type OrderAddress

type OrderAddress struct {
	SdaTown     string `json:"sda_town"`
	SdaStreet   string `json:"sda_street"`
	SdaBuilding string `json:"sda_building"`
	SdaFlat     string `json:"sda_flat"`
	SdaEntrance string `json:"sda_entrance"`
	SdaFloor    string `json:"sda_floor"`
	SdaComment  string `json:"sda_comment"`
}

type OrderCancel

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

type OrderConfirm

type OrderConfirm struct {
	PrmUuid string `json:"prm_uuid"`
	PrmCook int64  `json:"prm_cook"`
}

type OrderItems

type OrderItems struct {
	SoiMitm     string  `json:"soi_mitm" db:"soi_mitm"`
	SoiMvtp     string  `json:"soi_mvtp" db:"soi_mvtp"`
	SoiSlrg     string  `json:"soi_slrg" db:"soi_slrg"`
	SoiVolume   float64 `json:"soi_volume" db:"soi_volume"`
	SoiCount    int64   `json:"soi_count" db:"soi_count"`
	SoiPrice    float64 `json:"soi_price" db:"soi_price"`
	SoiDiscount float64 `json:"soi_discount" db:"soi_discount"`
	SoiMargin   float64 `json:"soi_margin" db:"soi_margin"`
}

type OrderStatusParams

type OrderStatusParams struct {
	PrmUuid string
}

Jump to

Keyboard shortcuts

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