waybill_logistics.go 630 B

1234567891011121314151617
  1. package dto
  2. // 运单
  3. type WaybillLogisticsGetPageReq struct {
  4. WaybillNo string `form:"waybillNo" search:"type:contains;column:waybill_no;table:waybill_logistics" vd:"len($)>0;msg:'订单编号不能为空'"` // 运单编号-必填
  5. Status int `form:"status" search:"type:exact;column:status;table:waybill_logistics"` // 状态
  6. WaybillLogisticsOrder
  7. }
  8. type WaybillLogisticsOrder struct {
  9. IdOrder string `search:"type:order;column:id;table:waybill_logistics" form:"idOrder" default:"desc"`
  10. }
  11. func (m *WaybillLogisticsGetPageReq) GetNeedSearch() interface{} {
  12. return *m
  13. }