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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 开票记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BillingRespVO {

    @Schema(description = "发票编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24631")
    @ExcelProperty("发票编号")
    private String id;

    @Schema(description = "用户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("用户名称")
    private String userName;

    @Schema(description = "用户手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("用户手机号")
    private String userPhone;

    @Schema(description = "申请开票时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("申请开票时间")
    private LocalDateTime requestBillingTime;

    @Schema(description = "发票金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("发票金额")
    private BigDecimal billingMoney;

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

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

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

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

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

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

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "拒绝时间")
    @ExcelProperty("拒绝时间")
    private LocalDateTime refuseTime;

    @Schema(description = "pdf地址", example = "https://www.iocoder.cn")
    @ExcelProperty("pdf地址")
    private String pdfUrl;
    @Schema(description = "门店id")
    private Long carteenId;
    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
    @Schema(description = "变更时间")
    @ExcelProperty("变更时间")
    private LocalDateTime updateTime;
    @Schema(description = "发票商品名称")
    @ExcelProperty("发票商品名称")
    private String billingName;
    @Schema(description = "单位所有开票的userid")
    private String orderId;
}