package request import "wms/constvar" type GetOperationTypeList struct { PageInfo Keyword string `json:"keyword" form:"keyword"` //关键字搜索 WarehouseIds string `json:"warehouseIds" form:"warehouseIds"` //仓库id } type AddOperationType struct { Id int `json:"id" gorm:"column:id;primary_key;AUTO_INCREMENT"` Name string `json:"name" gorm:"index;type:varchar(255);not null;comment:仓库名称"` //仓库名称 BaseOperationType constvar.BaseOperationType `json:"baseOperationType" gorm:"type:tinyint;not null;comment:基础作业类型"` //基础作业类型 CompanyId int `json:"companyId" gorm:"type:int;not null;comment:公司id"` //公司id WarehouseId int `json:"warehouseId" gorm:"type:int;not null;comment:仓库id"` //仓库id DefaultLocationSrcId int `json:"defaultLocationSrcId" gorm:"type:int;not null;comment:默认源位置id"` //默认源位置id DefaultLocationDestId int `json:"defaultLocationDestId" gorm:"type:int;not null;comment:默认目标位置id"` //默认目标位置id PrintLabel bool `json:"printLabel" gorm:"column:print_label;type:tinyint;comment:打印标签"` //是否打印标签 ReservationMethod constvar.ReservationMethod `json:"reservationMethod" gorm:"column:reservation_method"` //保留方式 ReservationDaysBefore int `json:"reservationDaysBefore" gorm:"type:int;"` //收货前几天 ReservationDaysBeforePriority int `json:"ReservationDaysBeforePriority" gorm:"type:int;"` //在优先级的前几天 ShowOperations bool `json:"showOperations" gorm:"column:show_operations;type:int"` //显示作业详情 CreateBackorder constvar.WhetherType `json:"createBackorder" gorm:"column:create_backorder"` //创建欠单 ReturnOperationTypeID int `json:"returnOperationTypeID" gorm:"column:return_job_type_id"` //退货类型ID Prefix string `json:"prefix" gorm:"type:varchar(255);comment:前缀"` //前缀 } type UpdateOperationType struct { ID uint `gorm:"comment:主键ID;primaryKey;" json:"id"` AddOperationType } type ListTransfer struct { Keyword string `json:"keyword"` }