package cn.iocoder.yudao.module.pay.controller.admin.divide.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 分账单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DividePageReqVO extends PageParam {

    @Schema(description = "渠道编号", example = "11564")
    private Long channelId;

    @Schema(description = "渠道编码")
    private String channelCode;

    @Schema(description = "总金额，单位：分", example = "30938")
    private Integer totalPrice;

    @Schema(description = "分账状态", example = "1")
    private String status;

    @Schema(description = "商户分账单号")
    private String no;

    @Schema(description = "渠道订单号")
    private String channelOrderNo;

    @Schema(description = "微信分账单号", example = "3065")
    private String orderId;

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

}