package com.njzscloud.supervisory.order.pojo.param;

import com.njzscloud.supervisory.biz.constant.AuditStatus;
import com.njzscloud.supervisory.order.contant.CheckStatus;
import com.njzscloud.supervisory.order.contant.OrderCategory;
import com.njzscloud.supervisory.order.contant.OrderViewType;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author lzq
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class OrderPagingSearchParam {
    /**
     * 审核状态; 字典代码：audit_status
     */
    private AuditStatus auditStatus;

    /**
     * 订单类型; 字典代码：order_category
     */
    private OrderCategory orderCategory;
    /**
     * 订单状态; 字典代码：order_status
     */
    private String orderStatus;
    /**
     * 1-->待审核、2-->已审核
     */
    private String auditType;
    private Long stationId;
    private CheckStatus checkStatus;

    /**
     * 清运公司ID
     */
    private Long transCompanyId;
    private String transCompanyName;
    private String driverName;

    /**
     * 产品ID
     */
    private Long goodsId;

    /**
     * 订单编号
     */
    private String sn;
    private String area;

    /**
     * 车牌号
     */
    private String licensePlate;

    /**
     * 昵称
     */
    private String nickname;
    /**
     * 公司名称
     */
    private String companyName;

    /**
     * 手机号
     */
    private String phone;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private OrderViewType type;

    private LocalDateTime startPayTime;
    private LocalDateTime endPayTime;
    private LocalDateTime startOutTime;
    private LocalDateTime endOutTime;

    private Boolean isCertificatePaging = Boolean.FALSE;

}
