package com.maintain.business.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.maintain.common.annotation.ExcelDictFormat;
import com.maintain.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 银联支付日志记录视图对象 sys_pay_log
 *
 * @author liushuai
 * @date 2025-11-10
 */
@Data
@ExcelIgnoreUnannotated
public class SysPayLogVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 结算维修单ID
     */
    @ExcelProperty(value = "结算维修单ID")
    private Long settlementMaintainId;

    /**
     * 认证报文
     */
    @ExcelProperty(value = "认证报文")
    private String authorization;

    /**
     * 请求参数
     */
    @ExcelProperty(value = "请求参数")
    private String operParam;

    /**
     * 返回参数
     */
    @ExcelProperty(value = "返回参数")
    private String jsonResult;

    /**
     * 操作状态（0正常 1异常）
     */
    @ExcelProperty(value = "操作状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=异常")
    private Long status;

    /**
     * 操作时间
     */
    @ExcelProperty(value = "操作时间")
    private Date operTime;


}
