Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Core/Entities/OA/UserPoints/PointsDetail.cs

91 lines
2.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace LearningOfficer.OA.Core.Entities.OA.UserPoints
{
/// <summary>
/// 积分详细表
///</summary>
[SugarTable("points_detail")]
public class PointsDetail : BaseEntity
{
/// <summary>
/// 备 注:用户id
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "userid" )]
public long Userid { get; set; }
/// <summary>
/// 备 注:变化积分(可正可负)(当时的执行规则的积分)
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "change_points" )]
public int ChangePoints { get; set; }
/// <summary>
/// 备 注:执行规则id区分类型用0为非规则
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "rules_id")]
public long RulesId { get; set; }
/// <summary>
/// 备 注:事项名称
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "detail_name")]
public string DetailName { get; set; }
/// <summary>
/// 备 注:操作类型(人为、程序)
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "is_auto" )]
public int IsAuto { get; set; }
/// <summary>
/// 备 注:人为操作用户id
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "add_userid" )]
public long AddUserid { get; set; }
/// <summary>
/// 备 注:相关id
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "source_id" )]
public long? SourceId { get; set; }
/// <summary>
/// 备 注:变化后的剩余可用积分(用于对账)
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "remaining_points" )]
public int RemainingPoints { get; set; }
/// <summary>
/// 备 注:发生时间
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "add_time" )]
public DateTime AddTime { get; set; }
}
}