package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.GeneratedValue;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ZaloPay返回信息对象 pose_order_zaloPay
 *
 * @author ruoyi
 * @date 2025-06-30
 */
@Data
@TableName(value = "pose_order_zaloPay")
@EqualsAndHashCode(callSuper = false)
public class PoseOrderZalopay
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @GeneratedValue
    /**  */
    private Long id;

    /**  */
    private String ddId;

    /** 回调返回 */
    @Excel(name = "回调返回")
    private String callbackResponse;

    /** 退款返回 */
    @Excel(name = "退款返回")
    private String refundResponse;

    /** callback_response时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "callback_response时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date callbackResponseTime;

    /** 商家退款id */
    private String mRefundId;

    /** refund_response时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "refund_response时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refundResponseTime;

    /** 创建返回 */
    @Excel(name = "创建返回")
    private String createResponse;

    /** create_response时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "create_response时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createResponseTime;
    //支付方式 1 到付 2 vnpay  3 zalopay 二维码支付 ：4  银行卡 5
    private String payType;

}
