package co.yixiang.yshop.module.distributor.controller.admin.distributorwages.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;

import io.swagger.v3.oas.annotations.media.Schema;
import co.yixiang.yshop.framework.common.pojo.PageParam;

import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

import static co.yixiang.yshop.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 分销商佣金 Excel 导出 Request VO，参数和 DistributorWagesPageReqVO 是一致的")
@Data
public class DistributorWagesExportReqVO {

    @Schema(description = "用户ID", example = "17956")
    private Long userId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "佣金")
    private BigDecimal amount;

    @Schema(description = "待入账佣金")
    private BigDecimal refuseAmount;

    @Schema(description = "分销商ID", example = "13832")
    private Long distributorId;

}
