package com.sckw.transport.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.sckw.core.model.page.PageRequest;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author lfdc
 * @description 车辆运单
 * @date 2023-06-27 11:06:08
 */
@Data
@Accessors(chain = true)
public class WaybillListAppDTO extends PageRequest{

    /**
     * 搜索关键字
     */
    private String keyword;

    /**
     * 状态
     */
    //@NotNull(message = "分类状态不能为空")
    private String status;

    /**
     * 业务状态
     */
    private String busAppStatus;

    /**
     * 查询开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String startDate;

    /**
     * 查询结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String endDate;

    /**
     * 物流订单单号
     */
    @JsonProperty("lOrderId")
    private String lOrderId;

}
