package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/** LINE Pay 网关请求、响应和事件的追加审计日志。 */
@Data
@TableName("payment_gateway_log")
public class PaymentGatewayLog {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String correlationId;
    private Long paymentId;
    private Long refundId;
    private Long credentialId;
    private Long storeId;
    private String ddId;
    private String gatewayOrderId;
    private String transactionId;
    private String action;
    private String direction;
    private String source;
    private Integer httpStatus;
    private String returnCode;
    private String returnMessage;
    private Integer success;
    private Long durationMs;
    private String payload;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}

