
package com.tmerclub.cloud.multishop.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Pineapple
 * @date 2021/6/8 19:56
 */
@Data
public class ShopWalletLogSearchDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "店铺收支类型 0支出 1收入")
    private Integer shopIoType;

    @Schema(description = "平台收支类型 0支出 1收入")
    private Integer platformIoType;

    @Schema(description = "金额类型 0 未结算金额 1可提现金额 2冻结金额")
    private Integer amountType;

    @Schema(description = "原因 0用户支付 1用户确认收货 2 用户退款申请 3 拒绝用户退款申请 4 提现申请 5 提现申请被拒绝")
    private Integer reason;

    @Schema(description = "订单号")
    private Long orderId;

    @Schema(description = "退款单号")
    private Long refundId;

    @Schema(description = "店铺id")
    private Long shopId;

    @Schema(description = "店铺名称")
    private String shopName;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @Schema(description = "店铺id列表，勾选导出")
    private List<Long> shopIds;

    @Schema(description = "排序类型 0无 1 正序 2倒序")
    private Integer sortType;

    @Schema(description = "通联充值单号")
    private Long bizOrderNo;

    @Schema(description = "通联充值状态 0.待支付 1.申请成功(还没确认)  2.充值成功 3.充值失败")
    private Integer allinpayStatus;

    }
