package org.jeecg.modules.app.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serial;
import java.io.Serializable;

@Data
public class RefundOrderForm implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
    @NotBlank(message = "订单编号不能为空")
    private String orderCode;

    /**
     * 子订单ID(逗号分隔)
     */
    @NotBlank(message = "子订单ID不能为空")
    private String orderProInfoIds;

    /**
     * 退款原因
     */
    private String reason = "无";

    /**
     * 退款类型：1-买家申请 2-商家申请 3-系统自动退款
     */
    private Integer type;
}
