package com.xxfc.platform.tour.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.github.wxiaoqi.security.common.vo.PageParam;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author libin
 * @version 1.0
 * @description 订单列表查询条件
 * @data 2019/6/14 16:32
 */
@Data
public class TourGoodOrderFindVo extends PageParam {


    /**
     * 公司id
     */
    @NotNull(message = "公司id不能为空")
    private Integer companyId;

    /**
     * 订单状态
     */
    @NotNull(message = "订单状态不能为空")
    private Integer  orderStatus;

    /**
     *出发时间
     */
    @NotNull(message = "出发时间不断能空")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date travelTime;

    private String travelDate;



}
