package com.qnfhq.modules.c2c.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * c2c订单
 *
 * @author yelz 30262728@qq.com
 * @since 1.0.0 2025-11-17
 */
@Data
@Schema(name = "c2c订单历史查询")
public class C2cOrderListDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "订单编号")
//    @NotBlank(message="{NotBlank.orderNo}")//订单编号不能空
	private String orderNo;

	@SchemaProperty(name = "方向1买入2卖出")
    @NotNull(message="{NotNull.direction}")//方向不能空
	private Integer direction;

	@SchemaProperty(name = "状态0进行中1 已结束 ")
    @NotNull(message="{NotNull.flow}")//状态不能空
	private Integer flow;

	@SchemaProperty(name = "0 未付款 1 已付款（确认付款后）2 申诉 3 已完成 4 已取消 ")
    @NotNull(message="{NotNull.status}")//状态不能空
	private Integer status;

	@SchemaProperty(name = "是否商家")
	private Integer isMt;

    @SchemaProperty(name = "页码")
    private Integer pageNum;

    @SchemaProperty(name = "每页条数")
    private Integer pageSize;

}
