package com.sckw.transport.model.param;

import com.sckw.core.web.request.PageReq;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author :chenXiaoFei
 * @version :1.0
 * @description : 分页查询运单信息请求参数
 * @create :2025-11-11 20:15:00
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class WaybillOrderReq extends PageReq implements Serializable {
    @Serial
    private static final long serialVersionUID = 5288474055629950242L;
    /**
     * 企业id
     */
    @Schema(description = "企业id")
    private String entId;
    /**
     * 物流订单id 订单模块调整的时候会用
     */
    @Schema(description = "物流订单id")
    private String logisticsOrderId;
    /**
     * 物流订单编号
     */
    @Schema(description = "物流订单编号")
    private String logisticsOrderNo;
    /**
     * 运单号
     */
    @Schema(description = "运单号")
    private String waybillNo;

    @Schema(description = "贸易订单号")
    private String tradeOrderNo;
    /**
     * 商品名称
     */
    @Schema(description = "商品名称")
    private String goodsName;
    /**
     * 司机名称
     */
    @Schema(description = "司机名称")
    private String driverName;
    /**
     * 联系电话
     */
    @Schema(description = "联系电话")
    private String phone;
    /**
     * 车牌号
     */
    @Schema(description = "车牌号")
    private String truckNo;
    /**
     * 托运单位id
     */
    @Schema(description = "托运单位id")
    private String consignorId;
    /**
     * 承运单位 id
     */
    @Schema(description = "承运单位 id")
    private String carrierId;
    /**
     * 计费方式
     */
    @Schema(description = "计费方式")
    private String billingMethod;
    /**
     * 装货开始时间
     */
    @Schema(description = "装货开始时间")
    private String loadStartTime;
    /**
     * 装货结束时间
     */
    @Schema(description = "装货结束时间")
    private String loadEndTime;
    /**
     * 卸货开始时间
     */
    @Schema(description = "卸货开始时间")
    private String unloadStartTime;
    /**
     * 卸货结束时间
     */
    @Schema(description = "卸货结束时间")
    private String unloadEndTime;
    /**
     * 状态
     */
    @Schema(description = "状态")
    private String status;
}
