package org.jeecg.modules.app.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.modules.app.dto.PageDTO;

import java.io.Serial;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description = "我的订单分页表单对象")
public class PageOrdersForm extends PageDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "订单状态：0-待付款 1-待使用 2-已使用 3-已到期 4-已取消 5-退款中 6已退款")
    private Integer orderStatus;

    @Schema(description = "是否售后 0-否 1-是")
    private Integer orAfterSale;

    @Schema(description = "当前用户userId",hidden = true)
    private String userId;

}
