/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @Title: GetProductVo
 * @Package cn.freemud.entities.vo
 * @Description:
 * @author: liming.guo
 * @date: 2018/5/16 17:35
 * @version V1.0
 * @Copyright: 2018 www.freemud.cn Inc. All rights reserved.
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目
 */
package cn.freemud.entities.vo;

import cn.freemud.enums.RefundModeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 用户退款申请
 *
 * @author haibo.jiang 2019/11/20
 * @author shichang.wang 2021/4/15
 */
@ApiModel("用户退款申请")
@Data
public class OrderRefundVo {

    @NotEmpty(message = "sessionId 不能为空")
    private String sessionId;

    @NotEmpty(message = "订单编号不能为空")
    private String oid;

    private String reason;

    private String remarks;

    private String partnerId;

    /**
     * 微商城退款方式
     *
     * @see cn.freemud.enums.RefundModeEnum
     */
    @ApiModelProperty(value = "微商城退款方式", notes = RefundModeEnum.API_DOC)
    private Byte refundMode;

}
