package com.cf.imes.module.executor.controller.admin.funds.purchase.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;


@Data
public class PurchaseRecordRespVO {


    @Schema(description = "购买记录ID")
    private Long id;


    @Schema(description = "组织ID")
    private Long organId;


    @Schema(description = "产品ID")
    private Long productId;


    @Schema(description = "产品明细ID")
    private Long productDetailsId;


    @Schema(description = "产品名称")
    private String productName;


    @Schema(description = "购买月数")
    private Integer purchaseMonths;


    @Schema(description = "赠送月数")
    private Integer giftMonths;


    @Schema(description = "支付方式")
    private Integer paymentMethod;


    @Schema(description = "订单总额")
    private BigDecimal totalAmount;


    @Schema(description = "现金余额支出")
    private BigDecimal accountBalanceSpent;


    @Schema(description = "支付宝支出")
    private BigDecimal alipaySpent;


    @Schema(description = "微信支出")
    private BigDecimal wechatSpent;


    @Schema(description = "赠送金")
    private BigDecimal giftMoneySpent;


    @Schema(description = "货币类型")
    private Integer currency;


    @Schema(description = "货币单位")
    private String currencyUnit;


    @Schema(description = "是否开票")
    private Integer isInvocing;


    @Schema(description = "购买时间")
    private LocalDateTime createTime;


    @Schema(description = "操作人")
    private String creator;


}
