package history

import "Wine-Server/utils/tables"

type queryWorkerParam struct {
	Cond  string `json:"cond"`
	Page  int    `json:"page"`
	Limit int    `json:"limit"`
}

type queryOrderParam struct {
	Worker string `json:"worker"`
	Cond   string `json:"cond"`
	Deal   int    `json:"deal"`
	Page   int    `json:"page"`
	Limit  int    `json:"limit"`
}

type updateParam struct {
	Id  uint32                     `json:"id"`
	New [4]tables.WineWithIdRemain `json:"new"`
}
