package com.junmp.jyzb.api.bean.query;

import com.junmp.v2.common.bean.request.BaseRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class OrderV2Req extends BaseRequest {
    @NotNull(message = "组织机构不能为空",groups = {list.class})
    private Long orgId;
    @NotNull(message = "类型不能为空",groups = {list.class})
    private Integer type;
    private String warehouseId;
    private Date startTime;
    private Date endTime;
}
