package com.ruoyi.controller.req;

import com.ruoyi.vo.PageBasic;
import com.ruoyi.vo.UserVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author a
 * @date 2023/10/13 9:35
 */
@Data
public class OrderPageReq extends PageBasic {

    @ApiModelProperty("订单状态:-1 已取消 0首款待支付 1待确认 2进行中 3待收图 4待评价 5已评价 ")
    private Integer status;

    @ApiModelProperty("开始时间")
    private Date beginTime;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("作品id")
    private Long typeId;

    @ApiModelProperty("排序类型 1最新 2价格")
    private Integer sortType = 1;

    @ApiModelProperty("排序类型 1升序 2降序")
    private Integer lifting;

    @ApiModelProperty("作品ids")
    private List<Long> typeIds;

    @ApiModelProperty("项目大厅")
    private Boolean isHall = false;

    @ApiModelProperty(value = "关键字搜索")
    private String keyword;

    @ApiModelProperty("是否高端认证:1:普通技术 2高端技术")
    private Integer ifHighend;

    @ApiModelProperty("查询设计师和表现师互相之间的订单")
    private Boolean isEachOther = false;

    @ApiModelProperty("查询设计师和表现师互相之间的订单,对方的用户ID")
    private Long otherUserId;

    @ApiModelProperty("查询设计师和表现师互相之间的订单,对方的用户类型 通过判断来处理")
    private Integer otherUserType;


    @ApiModelProperty(value = "拉黑用户")
    private List<UserVo> blockUserList;

    @ApiModelProperty(value = "屏蔽用户")
    private List<UserVo> shieldUserList;
}
