package com.tourguide.modules.order.entity; 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 com.tourguide.common.persistence.LogicDeleteEntity; import java.math.BigDecimal; import java.time.LocalDateTime; /** 订单的一笔退款请求明细。 */ @TableName("tour_order_refund") public class TourOrderRefund extends LogicDeleteEntity { @TableId(type = IdType.AUTO) private Long id; private Long orderId; private String refundOrderNo; private BigDecimal refundAmount; private String refundStatus; private LocalDateTime refundTime; private String refundMethod; @TableField(fill = FieldFill.INSERT) private LocalDateTime createdAt; @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updatedAt; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Long getOrderId() { return orderId; } public void setOrderId(Long orderId) { this.orderId = orderId; } public String getRefundOrderNo() { return refundOrderNo; } public void setRefundOrderNo(String refundOrderNo) { this.refundOrderNo = refundOrderNo; } public BigDecimal getRefundAmount() { return refundAmount; } public void setRefundAmount(BigDecimal refundAmount) { this.refundAmount = refundAmount; } public String getRefundStatus() { return refundStatus; } public void setRefundStatus(String refundStatus) { this.refundStatus = refundStatus; } public LocalDateTime getRefundTime() { return refundTime; } public void setRefundTime(LocalDateTime refundTime) { this.refundTime = refundTime; } public String getRefundMethod() { return refundMethod; } public void setRefundMethod(String refundMethod) { this.refundMethod = refundMethod; } public LocalDateTime getCreatedAt() { return createdAt; } public void setCreatedAt(LocalDateTime createdAt) { this.createdAt = createdAt; } public LocalDateTime getUpdatedAt() { return updatedAt; } public void setUpdatedAt(LocalDateTime updatedAt) { this.updatedAt = updatedAt; } }