package com.dsh.course.feignClient.activity.model;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/** 优惠券现金购买成功订单的统计传输对象。 */
|
@Data
|
public class UserCouponPayment {
|
|
/** 主键。 */
|
private Long id;
|
|
/** 优惠券 ID。 */
|
private Integer couponId;
|
|
/** 用户 ID。 */
|
private Integer userId;
|
|
/** 支付状态(1:待支付;2:已支付)。 */
|
private Integer status;
|
|
/** 支付方式(1:积分兑换;2:积分加现金)。 */
|
private Integer payType;
|
|
/** 现金支付金额。 */
|
private Double cash;
|
|
/** 支付时间。 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date paymentTime;
|
}
|