package cn.iocoder.yudao.module.member.controller.admin.billing.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
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 BillingPageReqVO extends PageParam {

    @Schema(description = "用户名称", example = "王五")
    private String userName;

    @Schema(description = "用户手机号")
    private String userPhone;

    @Schema(description = "申请开票时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] requestBillingTime;

    @Schema(description = "发票金额")
    private BigDecimal billingMoney;

    @Schema(description = "开票人，谁要开票", example = "6477")
    private Long userId;

    @Schema(description = "开票主体.(发票抬头)", example = "30533")
    private Long invoiceId;

    @Schema(description = "0开票中,1开票完成,2开票回拒", example = "2")
    private Integer status;

    @Schema(description = "同意人。谁通过的", example = "21936")
    private Long systemId;

    @Schema(description = "0食堂发票,1超市发票,2太空舱发票", example = "2")
    private Integer billingType;

    @Schema(description = "拒绝理由")
    private String refuseDetails;

    @Schema(description = "备注", example = "随便")
    private String remark;
    @Schema(description = "门店id")
    private Long carteenId;
    @Schema(description = "拒绝时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] refuseTime;

    @Schema(description = "pdf地址", example = "https://www.iocoder.cn")
    private String pdfUrl;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;
    @Schema(description = "发票商品名称")
    private String billingName;
    @Schema(description = "单位所有开票的userid")
    private String orderId;
}