package com.fdkankan.platform.user.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ResponseVirtualOrder implements Serializable {

    private static final long serialVersionUID = 2727347338052981033L;

    private Long id;

  //(value = "订单编号", name = "orderSn")
    private String orderSn;

  //(value = "充值金额", name = "userName")
    private BigDecimal amount;

  //(value = "点数", name = "points")
    private int points;

  //(value = "支付宝的交易号或者微信支付订单号", name = "number")
    private String number;

  //(value = "付款方式，0表示微信，1表示支付宝，2表示paypal，3表示其他", name = "payType")
    private int payType;

  //(value = "状态，0或-1表示消费失败，1表示成功", name = "payStatus")
    private int payStatus;

  //(value = "交易时间", name = "tradeTime")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date tradeTime;

  //(value = "状态，-1表示支出，1表示充值，0表示系统赠送，-2表示系统退充值", name = "status")
    private int status;

  //(value = "目的", name = "body")
    private String body;

  //(value = "场景序号", name = "sceneNum")
    private String sceneNum;

  //(value = "用户id", name = "userId")
    private Long userId;

  //(value = "相机id", name = "cameraId")
    private Long cameraId;

  //(value = "0表示国内订单，1表示国外订单", name = "abroad")
    private int abroad;

    private int orderCount;

    private String childName;
}
