package com.cpop.mall.business.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

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

/**
 * @author DB
 * @createTime 2023/10/26 17:22
 * @description
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "用户申请退款对象")
public class OrderApplyRefundBo implements Serializable {

    /**
     * 订单id
     */
    @NotBlank(message = "订单id不能为空")
    @ApiModelProperty(value = "订单id",required = true)
    private String orderId;

    /**
     * 退款原因
     */
    @NotBlank(message = "退款原因不能为空")
    @ApiModelProperty(value = "退款原因",required = true)
    private String refundReason;

    /**
     * openId
     */
    @NotBlank(message = "openId不能为空")
    @ApiModelProperty(value = "openId",required = true)
    private String openId;
}
