46 lines
1.3 KiB
C#
46 lines
1.3 KiB
C#
using LearningOfficer.OA.Core.Entities;
|
|
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
namespace LearningOfficer.OA.Core.Entities.OA.UserPoints
|
|
{
|
|
/// <summary>
|
|
/// 用户积分信息-如果用户在该表不存在,则第一次就需要新增一条数据
|
|
///</summary>
|
|
[SugarTable("points_user_info")]
|
|
public class PointsUserInfo : BaseEntity
|
|
{
|
|
|
|
/// <summary>
|
|
/// 备 注:用户id
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName="userid" ) ]
|
|
public long? Userid { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备 注:总积分(只增不减)
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName="total_points" ) ]
|
|
public int? TotalPoints { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备 注:可用积分
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName="available_points" ) ]
|
|
public int? AvailablePoints { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备 注:最后更新时间
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName="last_updated_time" ) ]
|
|
public DateTime? LastUpdatedTime { get; set; }
|
|
|
|
|
|
}
|
|
|
|
} |