package com.yami.shop.wx.po;

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

import javax.validation.constraints.NotNull;

/**
 * @author kaur
 */
@Data
@ApiModel(value = "小程序下单")
public class JsapiPayInfoPo {

    @ApiModelProperty(value = "详情")
    @NotNull(message = "详情不能为空...")
    private String description;

    @ApiModelProperty(value = "总价")
    @NotNull(message = "总价不能为空...")
    private Integer total;

    @ApiModelProperty(value = "openId")
    @NotNull(message = "openId不能为空...")
    private String openId;

    @ApiModelProperty(value = "outTradeNo")
    @NotNull(message = "outTradeNo不能为空...")
    private String outTradeNo;

    @ApiModelProperty(value = "notifyUrl",hidden = true)
    private String notifyUrl;
}
