You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.3 KiB

package goods
import (
"github.com/shopspring/decimal"
"recook/internal/libs/bean"
)
type ArgsAuditGoodsList struct {
VendorID uint `json:"vendor_id"`
Title string `json:"title"`
GoodsSn string `json:"goods_sn"`
BrandID uint `json:"brand_id"`
AuditType uint `json:"audit_type"`
ApplyStart string `json:"apply_start"`
ApplyEnd string `json:"apply_end"`
Status int `json:"status"`
First int `json:"first"`
Second int `json:"second"`
IsSave int `json:"is_save"`
StatusType int `json:"status_type"`
TaxStart string `json:"tax_start"`
TaxEnd string `json:"tax_end"`
Category []uint `json:"category"`
Code string `json:"code"`
bean.Page
}
type AuditListItem struct {
GoodsID uint `json:"goods_id"`
Title string `json:"title"`
VendName string `json:"vendor_name"`
Cover string `json:"cover"`
GoodsSn string `json:"goods_sn"`
BrandName string `json:"brand_name"`
ApplyTime int64 `json:"apply_time"`
AuditType int `json:"audit_type"`
AuditStatus int `json:"audit_status"`
NoInfo []RejectInfo `json:"no_info"`
CategoryName string `json:"category_name"`
TaxSn string `json:"tax_sn"`
TaxName string `json:"tax_name"`
Unit string `json:"unit"`
TaxRate decimal.Decimal `json:"tax_rate"`
PlatformRate decimal.Decimal `json:"platform_rate"`
DeductionRate decimal.Decimal `json:"deduction_rate"`
GoodsName string `json:"goods_name"`
IsSave int `json:"is_save"`
Sku []SkuMini `json:"sku"`
LastAuditTime int64 `json:"last_audit_time"`
IsJinKou int `json:"is_jin_kou"`
}
type ArgsMore struct {
GoodsID []uint `json:"goods_id"`
PlatformRate decimal.Decimal `json:"platform_rate"`
DeductionRate decimal.Decimal `json:"deduction_rate"`
}
type ArgsAuditReject struct {
GoodsID []uint `json:"goods_id"`
AdminID uint `json:"admin_id"`
Content string `json:"content"`
AuditType int `json:"audit_type"`
}
type ArgsAuditAdopt struct {
GoodsID []uint `json:"goods_id"`
AdminID uint `json:"-"`
AuditType int `json:"audit_type"`
Sku []SkuPrice `json:"sku"`
}