package com.yuchen.saas.payment.api.vo.moreOrderRefund;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import java.util.Date;

@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(25)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ColumnWidth(12)
@ContentRowHeight(15)
@HeadFontStyle(fontHeightInPoints =9)
@ExcelIgnoreUnannotated
public class PmgBatParkPayMoreOrderRefundRecordExcelVO {

    @ApiModelProperty(name = "orderRefundNumber", value = "退款订单号")
    @ExcelProperty(value = "退款订单号", index = 0)
    private String orderRefundNumber;

    @ApiModelProperty(name = "refundTime", value = "退款时间")
    @ExcelProperty(value = "退款时间", index = 1)
    @DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
    private Date refundTime;

    @ApiModelProperty(name = "orderNo", value = "订单号")
    @ExcelProperty(value = "原订单号", index = 2)
    private String orderNo;

    @ApiModelProperty(name = "refundSource", value = "退款来源（1：月卡，2：错时卡，3：钱包余额, 4: 临停费用， 5：占位费）")
    private Integer refundSource;

    @ApiModelProperty(name = "refundSourceName")
    @ExcelProperty(value = "退款来源类型", index = 3)
    private String refundSourceName;

    @ApiModelProperty(name = "applyNo", value = "申请单号")
    @ExcelProperty(value = "申请单号", index = 4)
    private String applyNo;

    @ApiModelProperty(name = "applyTime", value = "申请时间")
    @ExcelProperty(value = "申请时间", index = 5)
    @DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    @ApiModelProperty(name = "refundTypeName", value = "退款类型名称")
    @ExcelProperty(value = "退款类型名称", index = 6)
    private String refundTypeName;

    @ApiModelProperty(name = "refundType", value = "退款类型（1：全部退款，2：部分退款）")
    private Integer refundType;

    @ApiModelProperty(name = "refundCost", value = "退款金额(分)")
    private Long refundCost;

    @ApiModelProperty(name = "refundCost", value = "退款金额(元)")
    @ExcelProperty(value = "退款金额(元)", index = 7)
    private String refundAmount;

    @ApiModelProperty(name = "refundModeName", value = "退款方式名称")
    @ExcelProperty(value = "退款方式名称", index = 8)
    private String refundModeName;

    @ApiModelProperty(name = "refundMode", value = "退款方式")
    private Integer refundMode;

    @ApiModelProperty(name = "siteName", value = "停车场/充电站")
    @ExcelProperty(value = "停车场/充电站", index = 9)
    private String siteName;

    @ApiModelProperty(name = "refundStateName", value = "退款状态名称")
    @ExcelProperty(value = "退款状态", index = 10)
    private String refundStateName;

    @ApiModelProperty(name = "refundState", value = "退款状态 0：退款中、1：退款成功、2：退款失败")
    private Integer refundState;

    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    @ExcelProperty(value = "备注", index = 11)
    private String remark;


}
