/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.pay.entity; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.EqualsAndHashCode; import org.springblade.core.tenant.mp.TenantEntity; import java.util.Date; /** * 退款信息 实体类 * * @author BladeX * @since 2024-04-07 */ @Data @TableName("jczz_refund_info") @ApiModel(value = "RefundInfo对象", description = "退款信息") public class RefundInfoEntity { /** id */ @ApiModelProperty(value = "主键ID", example = "") @TableId(value = "id", type = IdType.ASSIGN_ID) private Long id; /** 订单编号 */ @ApiModelProperty(value = "订单编号", example = "") @TableField("order_no") private String orderNo; /** 退款单编号 */ @ApiModelProperty(value = "退款单编号", example = "") @TableField("refund_no") private String refundNo; /** 支付系统退款单号 */ @ApiModelProperty(value = "支付系统退款单号", example = "") @TableField("refund_id") private String refundId; /** 原订单金额(分) */ @ApiModelProperty(value = "原订单金额(分)", example = "") @TableField("total_fee") private Integer totalFee; /** 退款金额(分) */ @ApiModelProperty(value = "退款金额(分)", example = "") @TableField("refund") private Integer refund; /** 退款原因 */ @ApiModelProperty(value = "退款原因", example = "") @TableField("reason") private String reason; /** 退款单状态 */ @ApiModelProperty(value = "退款单状态", example = "") @TableField("refund_status") private String refundStatus; /** 申请退款返回参数 */ @ApiModelProperty(value = "申请退款返回参数", example = "") @TableField("content_return") private String contentReturn; /** 退款结果通知参数 */ @ApiModelProperty(value = "退款结果通知参数", example = "") @TableField("content_notify") private String contentNotify; /** 创建时间 */ @ApiModelProperty(value = "创建时间", example = "") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @TableField(value = "create_time",fill = FieldFill.INSERT) private Date createTime; /** 更新时间 */ @ApiModelProperty(value = "更新时间", example = "") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @TableField(value = "update_time",fill = FieldFill.UPDATE) private Date updateTime; }