package shop.alien.entity.store.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import shop.alien.entity.store.StoreIncomeDetailsRecord;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 未到账期返回类
 *
 * @author ssk
 * @version 1.0
 * @date 2025/2/27 8:51
 */
@ApiModel(value = "StoreIncomeDetailsRecordVo", description = "未到账期返回类")
@Data
@JsonInclude
public class StoreIncomeDetailsRecordVo extends StoreIncomeDetailsRecord {

    @ApiModelProperty(value = "可用金额")
    String noYetPaymentMoney;

    @ApiModelProperty(value = "收入金额")
    String incomeMoney;

    @ApiModelProperty(value = "订单价格（原价）")
    String orderPrice;


    @ApiModelProperty(value = "手续费Str")
    String commissionStr;

    @ApiModelProperty(value = "时间")
    String date;

    @ApiModelProperty(value = "验券时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date checkTime;

    @ApiModelProperty(value = "下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date orderTime;

    @ApiModelProperty(value = "收益时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date incomeTime;

    @ApiModelProperty(value = "券code")
    String quanCode;

    @ApiModelProperty(value = "券名称")
    String couponName;

    @ApiModelProperty(value = "商家名称")
    String storeName;

    @ApiModelProperty(value = "优惠券收益")
    String couponMoney;

    @ApiModelProperty(value = "团购收益")
    String groupMoney;

    @ApiModelProperty(value = "券数量")
    Integer couponCount;

    @ApiModelProperty(value = "退款标识")
    String refundType;

    @ApiModelProperty(value = "退款金额")
    BigDecimal refundMoney;

    @ApiModelProperty(value = "抽成比例")
    private String commissionRate;

    @ApiModelProperty(value = "收入明细列表")
    List<StoreIncomeDetailsRecordVo> incomeDetailsRecordVoList;

    @ApiModelProperty(value = "总记录数")
    private Long total;

    @ApiModelProperty(value = "总页数")
    private Long totalPages;

    @ApiModelProperty(value = "当前页")
    private Long currentPage;

    @ApiModelProperty(value = "每页大小")
    private Long pageSize;
}
