using System;
using System.Collections.Generic;

namespace HoneyBox.Model.Entities;

/// <summary>
/// 评分变动明细表，记录用户评分的所有变动记录
/// </summary>
public partial class ProfitScore
{
    /// <summary>
    /// 主键ID
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 用户ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 变动评分（正数为增加，负数为减少）
    /// </summary>
    public decimal ChangeMoney { get; set; }

    /// <summary>
    /// 变动后评分
    /// </summary>
    public decimal Money { get; set; }

    /// <summary>
    /// 变动类型
    /// </summary>
    public byte Type { get; set; }

    /// <summary>
    /// 变动说明
    /// </summary>
    public string Content { get; set; } = null!;

    /// <summary>
    /// 关联分享用户ID
    /// </summary>
    public int ShareUid { get; set; }

    /// <summary>
    /// 其他信息
    /// </summary>
    public string? Other { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreatedAt { get; set; }
}
