package com.sckw.usual.entity.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @desc:
 * @author: lt
 * @date: 2024/4/3 15:36
 */
@Data
public class OrderListParam {

    @NotNull(message = "缺少参数:page")
    private Integer page;

    @NotNull(message = "缺少参数:pageSize")
    private Integer pageSize;

    /*
    物流订单号
     */
    private String orderNo;

    /*
    装卸类型
     */
    private Integer typeHandling;

    /*
    货物类型
     */
    private Integer goodsType;


    /*
    状态
     */
    private Integer status;

    /*
    创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private LocalDateTime startTime;

    /*
    结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private LocalDateTime endTime;

    /*
    所属企业
     */
    private String owCompany;

    /*
    订单来源
     */
    private String orderSource;

    /*
    租户id
     */
    private String tenantId;


}
