package com.xinelu.manage.vo.goodsorder;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author ljh
 * @version 1.0
 * Create by 2023/3/1 17:11
 */
@Data
public class GoodsInfoRedemptionVO implements Serializable {
    private static final long serialVersionUID = -7968772265562362367L;

    /**
     * 用户id
     */
    private Long patientId;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 订单状态
     */
    private String orderStatus;

    /**
     * 订单类型
     */
    private String orderType;

    /**
     * 确认退款状态，未确认：NOT_CONFIRM，已确认：CONFIRMED
     */
    private String confirmRefundStatus;

    /**
     * 商品属性id
     */
    private Long goodsAttributeId;

    /**
     * 商品属性明细id
     */
    private Long goodsAttributeDetailsId;

    /**
     * 积分兑换商品数值
     */
    private Integer integralExchangeSill;

    /**
     * 积分兑换商品数量
     */
    private Integer integralExchangeCount;

    /**
     * 下单时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime orderTime;

    /**
     * 下单方式
     */
    private String orderChannel;
}
