package com.sckw.transport.model.dto;

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;

/**
 * @author lfdc
 * @description 单据数据
 * @date 2023-07-10 08:07:52
 */
@Data
@Accessors(chain = true)
public class OrderDTO extends PageRequest {
//    @JsonProperty("orderNo")
//    @NotNull(message = "单据编号不能为空")
//    private String orderNo;

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