package com.sckw.transport.model.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.sckw.core.model.page.PageRequest;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lfdc
 * @description 运营端查询
 * @date 2023-09-13 13:09:37
 */
@Data
public class LogisticsOrderQuery extends PageRequest implements Serializable {
//    @JsonProperty("orderNo")
//    @NotNull(message = "单据编号不能为空")
//    private String orderNo;

    @JsonProperty("ids")
    @NotNull(message = "数据ids不能为空")
    private String ids;
    /**
     * 1 托运 2 承运
     */
    @JsonProperty("type")
//    @NotNull(message = "单据类型不能为空")
    private String type;
}
