package com.sonic.lion.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: code
 * @date: 2025/07/15
 * @Description: iOS内购已处理过交易的记录
 * @version: 1.0.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "t_pay_iap_record", autoResultMap = true)
public class IapRecord {

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

    private String tradeNo;

    /**
     * 苹果内购系统交易id
     */
    private String transactionId;

    private Long receiptId;

    /**
     * 应用名
     */
    private String bundleId;

    /**
     * 内购项
     */
    private String productId;

    private String result;

    private Date createTime;

    private Date editTime;
}