package cn.freemud.fuyou.controller.request;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

@Setter
@Getter
public class RefundRequest {


    /**
     * 三方订单号
     */
    @NotEmpty(message = "thirdOrderCode 不能为空")
    private String thirdOrderCode;

    /**
     * 下单渠道
     * * 1:自营微信小程序 2:SAAS,i应用 3:自营支付宝小程序 4:自营H5 5:自营安卓APP 6:自营苹果APP 7:自营PC-WEB 8:饿了么 9:饿百 10:京东 11:美团外卖 12:自营APP 13:i应用会员 14:i应用订货 15:POS
     */
    @NotNull(message = "orderClient 不能为空")
    private String orderClient;
    /**
     * userId
     */
    @NotEmpty(message = "用户id不能为空")
    private String userId;

    /***
     * posid
     */
    @NotEmpty(message = "posId不能为空")
    private String posId;

    @NotEmpty(message = "用户id不能为空")
    private String storeId;

    /**
     * 取消原因
     */
    private String reqRemark;
}
