package com.zhentao.entity;

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

import java.time.LocalDateTime;

/**
 * 积分明细实体类
 *
 * @author zhentao
 * @since 2025-12-10
 */
@Data
@TableName("points_detail")
public class PointsDetail {

    /**
     * 积分明细id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 红娘id
     */
    private Integer makerId;

    /**
     * 积分数值
     */
    private Integer points;

    /**
     * 扣除或增加原因
     */
    private String reason;

    /**
     * 剩余积分
     */
    private Integer remainPoints;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}