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("pos_order_line_refund")
public class PosOrderLineRefund {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long paymentId;
    private String ddId;
    private Long credentialId;
    private String transactionId;
    private String refundTransactionId;
    private Integer amount;
    private String status;
    private String source;
    private Long version;
    private Date nextReconcileAt;
    private Date reconcileDeadline;
    private Integer reconcileCount;
    private String leaseOwner;
    private Date leaseUntil;
    private Date refundTime;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}

