package com.sckw.transport.model.param;

import com.sckw.core.web.request.PageReq;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

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

/**
 * @author :donglang
 * @version :1.0
 * @description :
 * @create :2025-11-13 08:59:00
 */
@Data
public class WaybillOrderQueryParam extends PageReq implements Serializable {

    @Serial
    private static final long serialVersionUID = -9098396227857171692L;

    /**
     * 企业id
     */
    @Schema(description = "企业id")
    @NotNull(message = "企业id不能为空！")
    private Long entId;

    /**
     * 车牌号
     */
    @Schema(description = "车牌号")
    @NotBlank(message = "车牌号不能为空！")
    private String truckNo;

    /**
     * 司机id
     */
    @Schema(description = "司机id")
    @NotNull(message = "司机id不能为空！")
    private Long driverId;

    /**
     * 状态 （1-进行中、2-单证审核、3-已完成）
     */
    @Schema(description = "状态 （1-进行中、2-单证审核、3-已完成）")
    private Integer status;

    /**
     * 模糊查询字段
     */
    private String searchKeyword;


}
