package com.yuchen.saas.payment.api.dto.order;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhouhanwei
 * @create 2023/6/28 9:21
 */
@Data
public class UpdateOrderManageReqDTO {


    /**
     * 微信openId
     */
    @NotBlank(message = "微信openId不能为空")
    @ApiModelProperty(name = "openId", value = "微信openId")
    private String openId;

    /**
     * 订单号
     */
    @NotBlank(message = "订单号不能为空")
    @ApiModelProperty(name = "orderNo", value = "订单号")
    private String orderNo;

    /**
     * 支付金额
     */
    @NotNull(message = "支付金额不能为空")
    @ApiModelProperty(name = "payCost", value = "支付金额")
    private Long payCost;

    /**
     * 优惠金额
     */
    @ApiModelProperty(name = "couponCost", value = "优惠金额")
    private Long couponCost;

    /**
     * 用户优惠券id
     */
    @ApiModelProperty(value = "用户优惠券id")
    private String couponRecordId;


    /**
     * 账单id
     */
    @NotBlank(message = "账单id不能为空")
    @ApiModelProperty(name = "billId", value = "账单id")
    private String billId;

}
