package com.sckw.order.api.model;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Getter
@Setter
@ToString
public class TradeOrderPara implements Serializable {

    @Serial
    private static final long serialVersionUID = 6909518527687999256L;
    @NotNull(message = "开始时间不能为空")
    private LocalDateTime startTime;
    @NotNull(message = "开始时间不能为空")
    private LocalDateTime endTime;

    @Schema(description = "贸易订单号")
    private String orderNo;

    private List<Long> entId;
    private Long userId;
    /**
     * 类型（1供应商，2采购商，3物流属性）
     */
    private Integer type;
}
