package com.xiaoniu.system.platformusers.user.dto;

import com.xiaoniu.common.core.resdata.BaseQueryDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Author haoxuyang
 * @Date 2024/10/19 18:16
 */
@Data
@Schema(description = "用户订单查询参数DTO")
public class UserOrderListQueryDTO extends BaseQueryDTO {

    @Schema(description = "用户id")
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @Schema(description = "排序类型 1升序 2降序")
    private String sortType = "1";
}
