package domain

import (
	"git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/util"
)

type AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo struct {
	/*
	   商品条码     */
	Barcodes *[]AlibabaWdkSkuWarehouseskuQueryWarehouseSkuBarcodeDo `json:"barcodes,omitempty" `

	/*
	   品牌名称     */
	BrandName *string `json:"brand_name,omitempty" `

	/*
	   含量     */
	Content *string `json:"content,omitempty" `

	/*
	   配货规格     */
	DeliverySpec *string `json:"delivery_spec,omitempty" `

	/*
	   配货单位     */
	DeliveryUnit *string `json:"delivery_unit,omitempty" `

	/*
	   配送方式，1-统配、2-直配、3-越库     */
	DeliveryWay *string `json:"delivery_way,omitempty" `

	/*
	   禁收时限     */
	ForbidReceiveDays *int64 `json:"forbid_receive_days,omitempty" `

	/*
	   禁售时限     */
	ForbidSalesDays *int64 `json:"forbid_sales_days,omitempty" `

	/*
	   新建时间     */
	GmtCreateTime *util.LocalTime `json:"gmt_create_time,omitempty" `

	/*
	   是否进口商品     */
	ImportFlag *bool `json:"import_flag,omitempty" `

	/*
	   进项税率     */
	InputTaxRate *string `json:"input_tax_rate,omitempty" `

	/*
	   库存单位     */
	InventoryUnit *string `json:"inventory_unit,omitempty" `

	/*
	   商品状态，A-正常、T-暂时停采、C-淘汰出清、R-清退、L-季节性商品休眠、D-删除封挡、E-停售(紧急下架)、U-未启用（只是建档，还未进货）     */
	LifeStatus *string `json:"life_status,omitempty" `

	/*
	   商品类目     */
	MerchantCatId *int64 `json:"merchant_cat_id,omitempty" `

	/*
	   商家编码     */
	MerchantCode *string `json:"merchant_code,omitempty" `

	/*
	   超收比例     */
	OverloadRate *string `json:"overload_rate,omitempty" `

	/*
	   保质期天数     */
	Period *int64 `json:"period,omitempty" `

	/*
	   厂商名称     */
	ProducerName *string `json:"producer_name,omitempty" `

	/*
	   产地，多个产地使用逗号分割     */
	ProducerPlace *string `json:"producer_place,omitempty" `

	/*
	   采购规格     */
	PurchaseSpec *string `json:"purchase_spec,omitempty" `

	/*
	   采购单位     */
	PurchaseUnit *string `json:"purchase_unit,omitempty" `

	/*
	   简称     */
	ShortTitle *string `json:"short_title,omitempty" `

	/*
	   商品编码     */
	SkuCode *string `json:"sku_code,omitempty" `

	/*
	   商品名称     */
	SkuName *string `json:"sku_name,omitempty" `

	/*
	   存储方式，241-常温、242-冷藏、243-冷冻、635-热链、636-室温、637-鲜活     */
	Storage *string `json:"storage,omitempty" `

	/*
	   当前供应商编码     */
	SupplierNo *string `json:"supplier_no,omitempty" `

	/*
	   进项税率     */
	TaxRate *string `json:"tax_rate,omitempty" `

	/*
	   仓编码     */
	WarehouseCode *string `json:"warehouse_code,omitempty" `

	/*
	   保质期预警天数     */
	WarnDays *int64 `json:"warn_days,omitempty" `

	/*
	   是否称重商品     */
	WeightFlag *bool `json:"weight_flag,omitempty" `
}

func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetBarcodes(v []AlibabaWdkSkuWarehouseskuQueryWarehouseSkuBarcodeDo) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.Barcodes = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetBrandName(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.BrandName = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetContent(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.Content = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetDeliverySpec(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.DeliverySpec = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetDeliveryUnit(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.DeliveryUnit = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetDeliveryWay(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.DeliveryWay = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetForbidReceiveDays(v int64) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.ForbidReceiveDays = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetForbidSalesDays(v int64) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.ForbidSalesDays = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetGmtCreateTime(v util.LocalTime) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.GmtCreateTime = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetImportFlag(v bool) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.ImportFlag = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetInputTaxRate(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.InputTaxRate = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetInventoryUnit(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.InventoryUnit = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetLifeStatus(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.LifeStatus = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetMerchantCatId(v int64) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.MerchantCatId = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetMerchantCode(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.MerchantCode = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetOverloadRate(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.OverloadRate = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetPeriod(v int64) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.Period = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetProducerName(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.ProducerName = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetProducerPlace(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.ProducerPlace = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetPurchaseSpec(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.PurchaseSpec = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetPurchaseUnit(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.PurchaseUnit = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetShortTitle(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.ShortTitle = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetSkuCode(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.SkuCode = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetSkuName(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.SkuName = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetStorage(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.Storage = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetSupplierNo(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.SupplierNo = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetTaxRate(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.TaxRate = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetWarehouseCode(v string) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.WarehouseCode = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetWarnDays(v int64) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.WarnDays = &v
	return s
}
func (s *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo) SetWeightFlag(v bool) *AlibabaWdkSkuWarehouseskuQueryWarehouseSkuDo {
	s.WeightFlag = &v
	return s
}
